|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.io.ObjectValueTranscoder
public class ObjectValueTranscoder
Decodes and encodes an object for use in an ldap attribute value.
| Constructor Summary | |
|---|---|
ObjectValueTranscoder()
|
|
| Method Summary | |
|---|---|
Object |
decodeBinaryValue(byte[] value)
Decodes the supplied ldap attribute value into a custom type. |
Object |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type. |
byte[] |
encodeBinaryValue(Object value)
Encodes the supplied value into an ldap attribute value. |
String |
encodeStringValue(Object value)
Encodes the supplied value into an ldap attribute value. |
Class<Object> |
getType()
Returns the type produced by this value transcoder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectValueTranscoder()
| Method Detail |
|---|
public Object decodeStringValue(String value)
decodeStringValue in interface ValueTranscoder<Object>value - to decode
public Object decodeBinaryValue(byte[] value)
decodeBinaryValue in interface ValueTranscoder<Object>value - to decode
public String encodeStringValue(Object value)
encodeStringValue in interface ValueTranscoder<Object>value - to encode
public byte[] encodeBinaryValue(Object value)
encodeBinaryValue in interface ValueTranscoder<Object>value - to encode
public Class<Object> getType()
getType in interface ValueTranscoder<Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||