T
- type of object to transcodepublic abstract class AbstractPrimitiveValueTranscoder<T> extends AbstractStringValueTranscoder<T>
Modifier and Type | Field and Description |
---|---|
private boolean |
primitive
Whether this transcoder operates on a primitive or an object.
|
Constructor and Description |
---|
AbstractPrimitiveValueTranscoder() |
Modifier and Type | Method and Description |
---|---|
String |
encodeStringValue(T value)
Encodes the supplied value into an ldap attribute value.
|
boolean |
isPrimitive()
Returns whether this transcoder operates on a primitive value.
|
void |
setPrimitive(boolean b)
Sets whether this transcoder operates on a primitive value.
|
decodeBinaryValue, encodeBinaryValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decodeStringValue, getType
private boolean primitive
public boolean isPrimitive()
public void setPrimitive(boolean b)
b
- whether this transcoder operates on a primitive valuepublic String encodeStringValue(T value)
ValueTranscoder
value
- to encodeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.