|
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.ASN1SetOf
The ASN1Set class can hold an unordered collection of components with identical type. This class inherits from the ASN1Structured class which already provides functionality to hold multiple ASN1 components.
Field Summary | |
static ASN1Identifier |
ID
ID is added for Optimization. |
static int |
TAG
ASN.1 SET OF tag definition. |
Constructor Summary | |
ASN1SetOf()
Constructs an ASN1SetOf object with no actual ASN1Objects in it. |
|
ASN1SetOf(ASN1Set set)
A copy constructor that creates an ASN1SetOf from an instance of ASN1Set. |
|
ASN1SetOf(int size)
Constructs an ASN1SetOf object with the specified number of placeholders for ASN1Objects. |
Method Summary | |
java.lang.String |
toString()
Return a String representation of this ASN1SetOf. |
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
public static final ASN1Identifier ID
Id needs only be one Value for every instance, thus we create it only once.
Constructor Detail |
public ASN1SetOf()
public ASN1SetOf(int size)
size
- Specifies the initial size of the collection.public ASN1SetOf(ASN1Set set)
Since SET and SET_OF have the same identifier, the decoder will always return a SET object when it detects that identifier. In order to take advantage of the ASN1SetOf type, we need to be able to construct this object when knowingly receiving an ASN1Set.
Method 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 |