|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.bitmeister.asn1.type.TypeSpecification
public class TypeSpecification
Specifications of an ASN.1 type.
An instance of this class contains static information of an ASN.1 type.
Method Summary | |
---|---|
java.lang.String |
fullIdentifier()
Returns the ASN.1 identifier with the module identifier of this type. |
boolean |
hasIdentifier()
Tests if this type has own identifier. |
java.lang.String |
identifier()
Returns the ASN.1 identifier of this type. |
boolean |
matches(ASN1TagClass tagClass,
int tagNumber)
Tests if the tag class and the tag number matches this type. |
java.lang.Class<? extends ASN1Module> |
module()
Returns the Class object of an ASN.1 module that this type is defined. |
TypeSpecification |
reference()
Returns the specification of the referencing type of this type. |
ASN1TagValue |
tag()
Returns the ASN.1 tag assigned to this type. |
boolean |
tagged()
Tests if this type is tagged or references a tagged type. |
java.lang.String |
xmlTypeName()
Returns the XML type name of this type. |
java.lang.String |
xmlTypeName(java.lang.Class<? extends ASN1Module> module)
Returns the XML type name of this type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Class<? extends ASN1Module> module()
Class
object of an ASN.1 module that this type is defined.
Class
object of an ASN.1 module.public boolean hasIdentifier()
true
when this type has own identifier.public java.lang.String identifier()
public java.lang.String fullIdentifier()
public java.lang.String xmlTypeName()
public java.lang.String xmlTypeName(java.lang.Class<? extends ASN1Module> module)
public boolean tagged()
true
when this type or referencing types have ASN.1 tag.public ASN1TagValue tag()
public boolean matches(ASN1TagClass tagClass, int tagNumber)
tagClass
- The tag class.tagNumber
- The tag number.
true
when the tag class and the tag number matches this
type.public TypeSpecification reference()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |