|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type of valuepublic interface ValueTranscoder<T>
Interface for decoding and encoding custom types for ldap attribute values.
| Method Summary | |
|---|---|
T |
decodeBinaryValue(byte[] value)
Decodes the supplied ldap attribute value into a custom type. |
T |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type. |
byte[] |
encodeBinaryValue(T value)
Encodes the supplied value into an ldap attribute value. |
String |
encodeStringValue(T value)
Encodes the supplied value into an ldap attribute value. |
Class<T> |
getType()
Returns the type produced by this value transcoder. |
| Method Detail |
|---|
T decodeStringValue(String value)
value - to decode
T decodeBinaryValue(byte[] value)
value - to decode
String encodeStringValue(T value)
value - to encode
byte[] encodeBinaryValue(T value)
value - to encode
Class<T> getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||