|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.asn1.ASN1Object com.novell.ldap.asn1.ASN1Structured com.novell.ldap.asn1.ASN1Sequence
The ASN1Sequence class can hold an ordered collection of components with distinct type. This class inherits from the ASN1Structured class which provides functionality to hold multiple ASN1 components.
Field Summary | |
static int |
TAG
ASN.1 SEQUENCE tag definition. |
Constructor Summary | |
ASN1Sequence()
Constructs an ASN1Sequence object with no actual ASN1Objects in it. |
|
ASN1Sequence(ASN1Decoder dec,
java.io.InputStream in,
int len)
Constructs an ASN1Sequence object by decoding data from an input stream. |
|
ASN1Sequence(ASN1Object[] newContent,
int size)
Constructs an ASN1Sequence object with an array representing an ASN1 sequence. |
|
ASN1Sequence(int size)
Constructs an ASN1Sequence object with the specified number of placeholders for ASN1Objects. |
Method Summary | |
java.lang.String |
toString()
Return a String representation of this ASN1Sequence. |
Methods inherited from class com.novell.ldap.asn1.ASN1Structured |
add, decodeStructured, encode, get, set, size, toArray, toString |
Methods inherited from class com.novell.ldap.asn1.ASN1Object |
getEncoding, getIdentifier, setIdentifier |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TAG
Constructor Detail |
public ASN1Sequence()
public ASN1Sequence(int size)
size
- Specifies the initial size of the collection.public ASN1Sequence(ASN1Object[] newContent, int size)
newContent
- the array containing the ASN1 data for the sequencesize
- Specifies the number of items in the arraypublic ASN1Sequence(ASN1Decoder dec, java.io.InputStream in, int len) throws java.io.IOException
dec
- The decoder object to use when decoding the
input stream. Sometimes a developer might want to pass
in his/her own decoder objectin
- A byte stream that contains the encoded ASN.1Method Detail |
public java.lang.String toString()
toString
in class ASN1Object
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |