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
This is the place where we serialize ParentIdAndRdn
serialize
in interface jdbm.helper.Serializer
IOException
public Object deserialize(byte[] bytes) throws IOException
deserialize
in interface jdbm.helper.Serializer
bytes
- the byte array containing the serialized ParentIdAndRdnIOException
- if we can't deserialize the ParentIdAndRdnCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.