All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcLDAPSuperDN

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1Tagged
          extended by com.novell.ldap.rfc2251.RfcLDAPSuperDN
All Implemented Interfaces:
java.io.Serializable

public class RfcLDAPSuperDN
extends ASN1Tagged

Represents an [0] LDAP DN OPTIONAL used as newSuperior attribute of ModifyDNRequest (For more detail on this Syntax refer to rfc2251).

See Also:
Serialized Form

Field Summary
private  byte[] content
           
protected static ASN1Identifier ID
          ID is added for Optimization.
static int TAG
          ASN.1 [0] LDAP DN OPTIONAL tag definition.
 
Constructor Summary
RfcLDAPSuperDN(byte[] ba)
          Call this constructor to construct an RfcLDAPSuperDN object from a byte array.
RfcLDAPSuperDN(java.lang.String s)
          Call this constructor to construct an RfcLDAPSuperDN object from a String object.
 
Method Summary
 byte[] byteValue()
          Returns the content of this RfcLDAPSuperDN as a byte array.
 java.lang.String stringValue()
          Returns the content of this RfcLDAPSuperDN as a String.
 java.lang.String toString()
          Return a String representation of this ASN1Object.
 
Methods inherited from class com.novell.ldap.asn1.ASN1Tagged
encode, isExplicit, setTaggedValue, taggedValue
 
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

content

private byte[] content

TAG

public static final int TAG
ASN.1 [0] LDAP DN OPTIONAL tag definition.

See Also:
Constant Field Values

ID

protected static final ASN1Identifier ID
ID is added for Optimization.

Id needs only be one Value for every instance, thus we create it only once.

Constructor Detail

RfcLDAPSuperDN

public RfcLDAPSuperDN(java.lang.String s)
Call this constructor to construct an RfcLDAPSuperDN object from a String object.

Parameters:
content - A string value that will be contained in the this RfcLDAPSuperDN object

RfcLDAPSuperDN

public RfcLDAPSuperDN(byte[] ba)
Call this constructor to construct an RfcLDAPSuperDN object from a byte array.

Parameters:
content - A byte array representing the string that will be contained in the this RfcLDAPSuperDN object
Method Detail

byteValue

public final byte[] byteValue()
Returns the content of this RfcLDAPSuperDN as a byte array.


stringValue

public final java.lang.String stringValue()
Returns the content of this RfcLDAPSuperDN as a String.


toString

public java.lang.String toString()
Return a String representation of this ASN1Object.

Overrides:
toString in class ASN1Tagged

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000