org.opends.server.api
Interface AttributeValueDecoder<T>

Type Parameters:
T - Decode the attribute value to an object of this type.

@PublicAPI(stability=VOLATILE,
           mayInstantiate=false,
           mayExtend=true,
           mayInvoke=true)
public interface AttributeValueDecoder<T>

A factory interface for decoding attribute values into objects.


Method Summary
 T decode(AttributeValue value)
          Decode the specified attribute value to an object of type T.
 

Method Detail

decode

T decode(AttributeValue value)
         throws DirectoryException
Decode the specified attribute value to an object of type T.

Parameters:
value - The attribute value.
Returns:
The decoded attribute value.
Throws:
DirectoryException - If the value could not be decoded successfully.