Calls the super method and writes the MBR object of this entry to the specified output stream.
@param out the stream to write the object to
@throws java.io.IOException Includes any I/O exceptions that may occur
Calls the super method and writes the values of this entry to the specified stream.
@param out the stream to write the object to
@throws java.io.IOException Includes any I/O exceptions that may occur
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
@serialData Overriding methods should use this tag to describethe data layout of this Externalizable object. List the sequence of element types and, if possible, relate the element to a public/protected field and/or method of this Externalizable class.
@param out the stream to write the object to
@exception IOException Includes any I/O exceptions that may occur
Serializes this object as binary data.
@param out The stream to write this object to.
@throws IOException Includes any I/O exceptions that may occur
@see java.io.Externalizable#writeExternal
@see Externalizable#readExternal(ObjectInput)
@param out The stream in which the ChangeLogEvent will be serialized.
@throws IOException If the serialization fail
A Rdn is composed of on to many Avas (AttributeType And Value). We should write all those Avas sequencially, following the structure :
parentId The parent entry's Id
nbAvas The number of Avas to write. Can't be 0.
upName The User provided Rdn
normName The normalized Rdn. It can be empty if the normalized name equals the upName.
Avas
For each Ava :
start The position of this Ava in the upName string
length The Ava user provided length
Call the Ava write method The Ava itself
@see Externalizable#readExternal(ObjectInput)
@param out The stream into which the serialized Rdn will be put
@throws IOException If the stream can't be written
A Rdn is composed of on to many Avas (AttributeType And Value). We should write all those Avas sequencially, following the structure :
parentId The parent entry's Id
nbAvas The number of Avas to write. Can't be 0.
upName The User provided Rdn
normName The normalized Rdn. It can be empty if the normalized name equals the upName.
Avas
For each Ava :
start The position of this Ava in the upName string
length The Ava user provided length
Call the Ava write method The Ava itself
@see Externalizable#readExternal(ObjectInput)
@param out The stream into which the serialized Rdn will be put
@throws IOException If the stream can't be written
Write the external representation of an object. The object's class and the externalizer's class will already have been written.
@param subject the object to externalize
@param output the output
@throws IOException if an error occurs
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.