com.objsys.asn1j.runtime
Class Asn1RELATIVE_OID_IRI
java.lang.Object
com.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1CharString
com.objsys.asn1j.runtime.Asn1OID_IRI
com.objsys.asn1j.runtime.Asn1RELATIVE_OID_IRI
- All Implemented Interfaces:
- Asn1TypeIF, java.io.Serializable, java.lang.Cloneable
public class Asn1RELATIVE_OID_IRI
- extends Asn1OID_IRI
This class represents the ASN.1 RELATIVE-OID-IRI. It is really nothing more
than a string, but it provides the decoding and encoding methods for various
encoding rules.
That this class extends Asn1OID_IRI should be considered an
implementation detail. The reason for the inheritance is that the
encodings are the same, except for the BER tag used.
- See Also:
- Serialized Form
Field Summary |
static Asn1Tag |
TAG
The TAG constant describes the universal tag for
this data type (UNIVERSAL 36). |
Fields inherited from class com.objsys.asn1j.runtime.Asn1Type |
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, mAsn1TypeName, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString |
Constructor Summary |
Asn1RELATIVE_OID_IRI()
The default constructor creates an empty string object. |
Asn1RELATIVE_OID_IRI(java.lang.String data)
This version of the constructor can be used to set the string
value member variable to the given string value. |
Method Summary |
protected Asn1Tag |
getTag()
Allows subclass to use a different tag by overriding this method. |
protected short |
getTagNumber()
Allows subclass to use a different tag number by overriding this method. |
Methods inherited from class com.objsys.asn1j.runtime.Asn1CharString |
decode, decode, decode, decode, decodeXER, decodeXML, encode, encode, encode, encode, encode, encode, equals, equals, getAsn1TypeName, getLength, hashCode, toString, validate |
Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
clone, decode, decode, decode, decode, decode, encode, encode, equals, getTypeName, indent, isOpenType, matchTag, matchTag, pdiag, print, setKey, setOpenType |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TAG
public static final Asn1Tag TAG
- The TAG constant describes the universal tag for
this data type (UNIVERSAL 36).
Asn1RELATIVE_OID_IRI
public Asn1RELATIVE_OID_IRI()
- The default constructor creates an empty string object.
Asn1RELATIVE_OID_IRI
public Asn1RELATIVE_OID_IRI(java.lang.String data)
- This version of the constructor can be used to set the string
value member variable to the given string value.
getTagNumber
protected short getTagNumber()
- Allows subclass to use a different tag number by overriding this method.
- Overrides:
getTagNumber
in class Asn1OID_IRI
- Returns:
getTag
protected Asn1Tag getTag()
- Allows subclass to use a different tag by overriding this method.
- Overrides:
getTag
in class Asn1OID_IRI
- Returns: