|
||||||||||
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 full identifier of this type that made from ASN.1 module identifier and type identifier. |
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. |
TypeSpecification |
reference()
Returns the specification of the referencing type of this type. |
ASN1TagValue |
tag()
Returns the ASN.1 tag assigned to this type. |
ASN1TagDefault |
tagDefault()
Returns the default tagging mode for the ASN.1 module that this type is defined. |
boolean |
tagged()
Tests if this type is tagged or references a tagged type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ASN1TagDefault tagDefault()
public boolean hasIdentifier()
true
when this type has own identifier.public java.lang.String identifier()
public java.lang.String fullIdentifier()
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 |