public class ParentIdAndRdnSerializer extends Object implements jdbm.helper.Serializer
| Constructor and Description |
|---|
ParentIdAndRdnSerializer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a new instance of ParentIdAndRdnSerializer.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] bytes)
Deserialize a ParentIdAndRdn.
|
byte[] |
serialize(Object object)
This is the place where we serialize ParentIdAndRdn
|
public ParentIdAndRdnSerializer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager - The reference to the global schemaManagerpublic byte[] serialize(Object object) throws IOException
serialize in interface jdbm.helper.Serializerobject - The element to serializeIOException - If the serialization failedpublic Object deserialize(byte[] bytes) throws IOException
deserialize in interface jdbm.helper.Serializerbytes - the byte array containing the serialized ParentIdAndRdnIOException - if we can't deserialize the ParentIdAndRdnCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.