|
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.LDAPExtendedOperation
Encapsulates an ID which uniquely identifies a particular extended operation, known to a particular server, and the data associated with that extended operation.
LDAPConnection.extendedOperation(com.novell.ldap.LDAPExtendedOperation)
,
Serialized FormConstructor Summary | |
LDAPExtendedOperation()
This constructor was added to support default Serialization |
|
LDAPExtendedOperation(java.lang.String oid,
byte[] vals)
Constructs a new object with the specified object ID and data. |
Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
java.lang.String |
getID()
Returns the unique identifier of the operation. |
byte[] |
getValue()
Returns a reference to the operation-specific data. |
static java.lang.Object |
readDSML(java.io.InputStream input)
This method is used to deserialize the DSML encoded representation of this class. |
void |
readExternal(java.io.ObjectInput in)
Reads the serialized object from the underlying input stream. |
protected void |
setID(java.lang.String newoid)
Resets the OID for the operation to a new value |
protected void |
setValue(byte[] newVals)
Sets the value for the operation-specific data. |
java.lang.String |
toString()
Returns a valid string representation of this LDAP URL. |
void |
writeDSML(java.io.OutputStream oout)
This method does DSML serialization of the instance. |
void |
writeExternal(java.io.ObjectOutput out)
Writes the object state to a stream in XML format |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPExtendedOperation()
public LDAPExtendedOperation(java.lang.String oid, byte[] vals)
oid
- The unique identifier of the operation.vals
- The operation-specific data of the operation.Method Detail |
public java.lang.Object clone()
public java.lang.String getID()
public byte[] getValue()
protected void setValue(byte[] newVals)
newVals
- The byte array of operation-specific data.protected void setID(java.lang.String newoid)
newoid
- The new OID for the operationpublic void writeDSML(java.io.OutputStream oout) throws java.io.IOException
oout
- Outputstream where the serialzed data has to be written
java.io.IOException
- if write fails on OutputStreampublic static java.lang.Object readDSML(java.io.InputStream input) throws java.io.IOException
input
- InputStream for the DSML formatted data.
java.io.IOException
- when serialization fails.public java.lang.String toString()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The ObjectOutput stream where the Object in XML format
is being written to
java.io.IOException
- - If I/O errors occurpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- The ObjectInput stream where the Serialized Object is being read from
java.io.IOException
- - If I/O errors occur
java.lang.ClassNotFoundException
- - If the class for an object being restored
cannot be found.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |