|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objsys.asn1j.runtime.Asn1Type
com.objsys.asn1j.runtime.Asn1Choice
com.objsys.asn1j.runtime.Asn1XerCHARACTER_STRING_identification
public class Asn1XerCHARACTER_STRING_identification
| Nested Class Summary | |
|---|---|
class |
Asn1XerCHARACTER_STRING_identification.SaxHandler
|
| Field Summary | |
|---|---|
static byte |
_CONTEXT_NEGOTIATION
|
static byte |
_FIXED
|
static byte |
_PRESENTATION_CONTEXT_ID
|
static byte |
_SYNTAX
|
static byte |
_SYNTAXES
|
static byte |
_TRANSFER_SYNTAX
|
static Asn1Tag |
TAG
|
| Fields inherited from class com.objsys.asn1j.runtime.Asn1Choice |
|---|
choiceID, element |
| Fields inherited from class com.objsys.asn1j.runtime.Asn1Type |
|---|
BIT_STRING, BMPString, BOOLEAN, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OpenType, PrintableString, REAL, RelativeOID, SEQUENCE, SET, T61String, TeletexString, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString |
| Constructor Summary | |
|---|---|
Asn1XerCHARACTER_STRING_identification()
|
|
Asn1XerCHARACTER_STRING_identification(byte choiceId_,
Asn1Type element_)
|
|
| Method Summary | |
|---|---|
void |
decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
This method is used to decode a message that is encoded in BER or DER format. |
void |
decode(Asn1PerDecodeBuffer buffer)
This method is the base implementation of the standard Packed Encoding Rules (PER) decode method. |
void |
decode(java.lang.Object reader_,
java.io.InputStream inputStream)
This method declaration is the signature of the standard XML Encoding Rules (XER) decode method. |
void |
decode(java.lang.Object reader_,
java.lang.String xmlURI)
This method declaration is the signature of the standard XML Encoding Rules (XER) decode method. |
int |
encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
This method is used to encode this data type in BER or DER format. |
void |
encode(Asn1BerOutputStream out,
boolean explicit)
This method writes to the stream an encoded ASN.1 type value including the UNIVERSAL tag value and length if explicit tagging is specified. |
void |
encode(Asn1PerEncodeBuffer buffer)
This method is the base implementation of the standard Packed Encoding Rules (PER) encode method. |
void |
encode(Asn1XerEncoder buffer,
java.lang.String elemName)
This method is the base implementation of the standard XML Encoding Rules (XER) encode method. |
java.lang.String |
getElemName()
This abstract method return the name of the selected element. |
Asn1XerSaxHandler |
getSaxHandler()
|
void |
print(java.io.PrintStream _out,
java.lang.String _varName,
int _level)
This method will format and output a primitive value to the given print stream. |
void |
set_context_negotiation(Asn1XerCHARACTER_STRING_identification_context_negotiation value)
|
void |
set_fixed()
|
void |
set_presentation_context_id(Asn1Integer value)
|
void |
set_syntax(Asn1ObjectIdentifier value)
|
void |
set_syntaxes(Asn1XerCHARACTER_STRING_identification_syntaxes value)
|
void |
set_transfer_syntax(Asn1ObjectIdentifier value)
|
| Methods inherited from class com.objsys.asn1j.runtime.Asn1Choice |
|---|
equals, getChoiceID, getElement, setElement |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
|---|
clone, decode, decodeXML, encode, encode, encode, encode, encode, encodeAttribute, getLength, getTypeName, indent, isOpenType, matchTag, matchTag, pdiag, setKey, setOpenType |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Asn1Tag TAG
public static final byte _SYNTAXES
public static final byte _SYNTAX
public static final byte _PRESENTATION_CONTEXT_ID
public static final byte _CONTEXT_NEGOTIATION
public static final byte _TRANSFER_SYNTAX
public static final byte _FIXED
| Constructor Detail |
|---|
public Asn1XerCHARACTER_STRING_identification()
public Asn1XerCHARACTER_STRING_identification(byte choiceId_,
Asn1Type element_)
| Method Detail |
|---|
public java.lang.String getElemName()
Asn1Choice
getElemName in class Asn1Choicepublic void set_syntaxes(Asn1XerCHARACTER_STRING_identification_syntaxes value)
public void set_syntax(Asn1ObjectIdentifier value)
public void set_presentation_context_id(Asn1Integer value)
public void set_context_negotiation(Asn1XerCHARACTER_STRING_identification_context_negotiation value)
public void set_transfer_syntax(Asn1ObjectIdentifier value)
public void set_fixed()
public void decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
throws Asn1Exception,
java.io.IOException
Asn1Type
decode in interface Asn1TypeIFdecode in class Asn1Typebuffer - Decode message buffer objectexplicit - Flag indicating explicit tag should be parsed
from the encoded type.implicitLength - Length of the contents field (only required
if explicit is false).
Asn1Exception
java.io.IOException
public int encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
throws Asn1Exception
Asn1Type
encode in interface Asn1TypeIFencode in class Asn1Typebuffer - Encode message buffer objectexplicit - Flag indicating explicit tag should be added
to the encoded type.
Asn1Exception
public void encode(Asn1BerOutputStream out,
boolean explicit)
throws Asn1Exception,
java.io.IOException
Asn1Type
encode in interface Asn1TypeIFencode in class Asn1Typeout - BER Output Stream objectexplicit - Flag indicating explicit tagging should be done
Asn1Exception - Thrown, if operation is failed.
java.io.IOException - Any exception thrown by the underlying OutputStream.
public void decode(Asn1PerDecodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
Asn1Type
decode in interface Asn1TypeIFdecode in class Asn1Typebuffer - PER Encode message buffer object
Asn1Exception
java.io.IOException
public void encode(Asn1PerEncodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
Asn1Type
encode in interface Asn1TypeIFencode in class Asn1Typebuffer - PER Encode message buffer object
Asn1Exception
java.io.IOException
public void decode(java.lang.Object reader_,
java.lang.String xmlURI)
throws Asn1Exception,
java.io.IOException
Asn1Type
decode in interface Asn1TypeIFdecode in class Asn1Typereader_ - XML reader objectxmlURI - URI of a source
Asn1Exception - Thrown, if operation is failed.
java.io.IOException - An IO exception from the parser, possibly from a
byte stream or character stream supplied by the
application.
public void decode(java.lang.Object reader_,
java.io.InputStream inputStream)
throws Asn1Exception,
java.io.IOException
Asn1Type
decode in interface Asn1TypeIFdecode in class Asn1Typereader_ - XML reader objectinputStream - Input byte stream object
Asn1Exception - Thrown, if operation is failed.
java.io.IOException - An IO exception from the parser, possibly from a
byte stream or character stream supplied by the
application.public Asn1XerSaxHandler getSaxHandler()
public void encode(Asn1XerEncoder buffer,
java.lang.String elemName)
throws Asn1Exception,
java.io.IOException
Asn1Type
encode in interface Asn1TypeIFencode in class Asn1Typebuffer - XER Encode message buffer objectelemName - XML element name of item
Asn1Exception - Thrown, if operation is failed.
java.io.IOException - Any exception thrown by the underlying stream.
public void print(java.io.PrintStream _out,
java.lang.String _varName,
int _level)
Asn1Type
print in interface Asn1TypeIFprint in class Asn1Type_out - Print output stream_varName - Name of variable_level - Indentation level
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||