|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.io.AbstractStringValueTranscoder<T>
org.ldaptive.io.AbstractPrimitiveValueTranscoder<Boolean>
org.ldaptive.io.BooleanValueTranscoder
public class BooleanValueTranscoder
Decodes and encodes a boolean for use in an ldap attribute value.
| Constructor Summary | |
|---|---|
BooleanValueTranscoder()
Default constructor. |
|
BooleanValueTranscoder(boolean b)
Creates a new boolean value transcoder. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.ldaptive.io.AbstractPrimitiveValueTranscoder |
|---|
encodeStringValue, isPrimitive, setPrimitive |
| Methods inherited from class org.ldaptive.io.AbstractStringValueTranscoder |
|---|
decodeBinaryValue, encodeBinaryValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanValueTranscoder()
public BooleanValueTranscoder(boolean b)
b - whether this transcoder is operating on a primitive| Method Detail |
|---|
public Boolean decodeStringValue(String value)
value - to decode
public Class<Boolean> getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||