|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1Type com.objsys.asn1j.runtime.Asn1ArrayType
public class Asn1ArrayType
This class represents the temporaray sequence of XSD type.
Field Summary | |
---|---|
java.util.ArrayList |
element
This member variable is where the list value is stored. |
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 | |
---|---|
Asn1ArrayType()
The default constructor initializes the choiceID and value. |
|
Asn1ArrayType(Asn1Type[] objects)
This constructor creates a an internal array using the given array of objects derived from Asn1Type. |
Method Summary | |
---|---|
void |
add(Asn1Type data)
|
boolean |
equals(java.lang.Object cv_)
This method compares this type element with the passed type element. |
int |
hashCode()
This method will return the hashCode for this array type. |
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, for each array element value. |
int |
size()
This method returns the size of array. |
Asn1Type[] |
toArray()
This method returns the array of element object. |
void |
toArray(Asn1Type[] target)
This method copies the elements into the given array. |
Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
---|
clone, decode, decode, decode, decode, decode, decode, decode, decodeXML, encode, encode, encode, encode, encode, encode, encode, equals, getAsn1TypeName, getLength, getTypeName, indent, isOpenType, matchTag, matchTag, pdiag, setKey, setOpenType |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public transient java.util.ArrayList element
Constructor Detail |
---|
public Asn1ArrayType()
public Asn1ArrayType(Asn1Type[] objects)
Method Detail |
---|
public void add(Asn1Type data)
public int size()
public Asn1Type[] toArray()
public void toArray(Asn1Type[] target)
public boolean equals(java.lang.Object cv_)
equals
in class java.lang.Object
cv_
- Asn1ArrayType valuepublic int hashCode()
hashCode
in class Asn1Type
public void print(java.io.PrintStream _out, java.lang.String _varName, int _level)
print
in interface Asn1TypeIF
print
in class Asn1Type
out
- Print output streamvarName
- Name of variablelevel
- Indentation level
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |