public class BooleanValueTranscoder extends AbstractPrimitiveValueTranscoder<Boolean>
Constructor and Description |
---|
BooleanValueTranscoder()
Default constructor.
|
BooleanValueTranscoder(boolean b)
Creates a new boolean value transcoder.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.
|
Class<Boolean> |
getType()
Returns the type produced by this value transcoder.
|
encodeStringValue, isPrimitive, setPrimitive
decodeBinaryValue, encodeBinaryValue
public BooleanValueTranscoder()
public BooleanValueTranscoder(boolean b)
b
- whether this transcoder is operating on a primitivepublic Boolean decodeStringValue(String value)
ValueTranscoder
value
- to decodepublic Class<Boolean> getType()
ValueTranscoder
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.