|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1.ber.TagEnum
public abstract class TagEnum
Abstract base class for type safe tag enumerations following the agreed upon convention for representing tags as integers. This way the type safe enumeration also represents a preconstructed tag. ASN.1 application module specific enumerations should extend this base for use with the digester.
Field Summary | |
---|---|
private int |
id
the id for this tag |
private java.lang.String |
name
the name of this enumeration element |
private int |
value
the value of this enumeration element |
Constructor Summary | |
---|---|
protected |
TagEnum(java.lang.String name,
int value,
int id)
|
Method Summary | |
---|---|
int |
getConstructedTag()
Gets the constructed version of a tag. |
java.lang.String |
getName()
Get's the name of this enumeration element. |
int |
getPrimitiveTag()
Gets the primitive version of a tag. |
int |
getTagId()
Gets the id of this tag. |
TypeClass |
getTypeClass()
Gets the type class of a tag. |
int |
getValue()
Get's the value of this enumeration element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int id
private final java.lang.String name
private final int value
Constructor Detail |
---|
protected TagEnum(java.lang.String name, int value, int id)
Method Detail |
---|
public final java.lang.String getName()
public final int getValue()
public final int getTagId()
public final int getPrimitiveTag()
public final int getConstructedTag()
public final TypeClass getTypeClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |