|
||||||||||
| 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.Asn1OpenExt
This is a container class for holding open type elements that may occur within an open type extension (i.e. a ... at the end of a constructed type or a ..., ... at some other point in a constructed type).
| Field Summary | |
java.util.ArrayList |
value
The value is a list of Asn1OpenType objects. |
| 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 | |
Asn1OpenExt()
|
|
| Method Summary | |
void |
decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
This method decodes an ASN.1 open type extension value using the Basic Encoding Rules (BER). |
void |
decode(Asn1PerDecodeBuffer buffer)
This method decodes an open type extension in a SEQUENCE or SET construct using the packed encoding rules (PER). |
void |
decodeComponent(Asn1BerDecodeBuffer buffer)
This method decodes a single component of a BER open type extension by decoding an open type value and appending it to the list of open type objects. |
void |
decodeEventComponent(Asn1BerDecodeBuffer buffer)
This method decodes a single component of a BER open type extension by decoding an open type value and appending it to the list of open type objects, this function also triggers event handler code, with element name "..." |
Asn1OpenType |
decodeOpenType(Asn1PerDecodeBuffer buffer,
boolean present,
int index)
This method decodes a single open type extension item in a SEQUENCE or SET construct using the packed encoding rules (PER). |
int |
encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER). |
void |
encode(Asn1BerOutputStream out,
boolean explicit)
This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER) and writes it into the stream. |
void |
encode(Asn1PerEncodeBuffer buffer)
This method encodes an ASN.1 open type extension value using the Packed Encoding Rules (PER). |
void |
encode(Asn1PerOutputStream out)
This method encodes an ASN.1 open type extension value using the Packed Encoding Rules (PER). |
void |
encode(Asn1XerEncoder buffer)
This method encodes an ASN.1 open type extension value using the XML Encoding Rules (XER). |
void |
encodeExtBits(Asn1PerEncodeBuffer buffer)
This method encodes an ASN.1 open type extension value bits using the Packed Encoding Rules (PER). |
void |
setOpenType(Asn1OpenType object,
int index)
This method will add the given open type object to the open extension element list at the given index. |
void |
shrinkArray(int numrecs)
This method adjusts the size of the open type component array downward to the given size value. |
java.lang.String |
toString()
This method will return a string representation of the open extension value. |
| Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
clone, decode, decode, decode, decodeXML, encode, encode, encode, encode, encodeAttribute, getLength, getTypeName, indent, isOpenType, matchTag, matchTag, pdiag, print, setKey, setOpenType |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public transient java.util.ArrayList value
| Constructor Detail |
public Asn1OpenExt()
| Method Detail |
public void decodeEventComponent(Asn1BerDecodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
buffer - Decode message buffer object
Asn1Exception
java.io.IOException
public void decodeComponent(Asn1BerDecodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
buffer - Decode message buffer object
Asn1Exception
java.io.IOException
public void decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
throws Asn1Exception,
java.io.IOException
decode in interface Asn1TypeIFdecode in class Asn1Typebuffer - Decode message buffer objectexplicit - Flag indicating element is explicitly taggedimplicitLength - Length if implicit element
Asn1Exception
java.io.IOException
public int encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
throws Asn1Exception
encode in interface Asn1TypeIFencode in class Asn1Typebuffer - Encode message buffer objectexplicit - Flag indicating element is explicitly tagged
Asn1Exception
public void decode(Asn1PerDecodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
value public
member list variable. If optional items are absent, null
placeholders will be inserted in the list.
decode in interface Asn1TypeIFdecode in class Asn1Typebuffer - Decode message buffer object
Asn1Exception
java.io.IOException
public Asn1OpenType decodeOpenType(Asn1PerDecodeBuffer buffer,
boolean present,
int index)
throws Asn1Exception,
java.io.IOException
buffer - Decode message buffer objectpresent - Flag indicating whether element is presentindex - Index of element in the object array
Asn1Exception
java.io.IOException
public void encode(Asn1PerEncodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
encode in interface Asn1TypeIFencode in class Asn1Typebuffer - Encode message buffer object
Asn1Exception
java.io.IOException
public void encodeExtBits(Asn1PerEncodeBuffer buffer)
throws Asn1Exception,
java.io.IOException
buffer - Encode message buffer object
Asn1Exception
java.io.IOException
public void setOpenType(Asn1OpenType object,
int index)
object - Open type objectindex - Index in open type list where element is to be placedpublic void shrinkArray(int numrecs)
numrecs - Number of entries the array should holdpublic java.lang.String toString()
public void encode(Asn1BerOutputStream out,
boolean explicit)
throws Asn1Exception,
java.io.IOException
encode in interface Asn1TypeIFencode in class Asn1Typeout - BER Output Stream objectexplicit - Flag indicating element is explicitly tagged
java.io.IOException - Any exception thrown by the Asn1BerOutputStream.
Asn1Exception - Thrown, if operation is failed.
public void encode(Asn1PerOutputStream out)
throws Asn1Exception,
java.io.IOException
encode in interface Asn1TypeIFencode in class Asn1Typeout - PER Output Stream object
java.io.IOException - Any exception thrown by the Asn1PerOutputStream.
Asn1Exception - Thrown, if operation is failed.
public void encode(Asn1XerEncoder buffer)
throws java.io.IOException,
Asn1Exception
encode in interface Asn1TypeIFencode in class Asn1Typebuffer - Encode message buffer object
Asn1Exception - Thrown, if operation is failed.
java.io.IOException - Any exception thrown by the underlying stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||