Package org.ldaptive.transcode
Class FloatValueTranscoder
- java.lang.Object
- 
- org.ldaptive.transcode.AbstractStringValueTranscoder<T>
- 
- org.ldaptive.transcode.AbstractPrimitiveValueTranscoder<Float>
- 
- org.ldaptive.transcode.FloatValueTranscoder
 
 
 
- 
- All Implemented Interfaces:
- ValueTranscoder<Float>
 
 public class FloatValueTranscoder extends AbstractPrimitiveValueTranscoder<Float> Decodes and encodes a float for use in an ldap attribute value.
- 
- 
Constructor SummaryConstructors Constructor Description FloatValueTranscoder()Default constructor.FloatValueTranscoder(boolean b)Creates a new float value transcoder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatdecodeStringValue(String value)Decodes the supplied ldap attribute value into a custom type.Class<Float>getType()Returns the type produced by this value transcoder.- 
Methods inherited from class org.ldaptive.transcode.AbstractPrimitiveValueTranscoderencodeStringValue, isPrimitive, setPrimitive
 - 
Methods inherited from class org.ldaptive.transcode.AbstractStringValueTranscoderdecodeBinaryValue, encodeBinaryValue
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.ldaptive.transcode.ValueTranscoderdecoder, encoder
 
- 
 
- 
- 
- 
Method Detail- 
decodeStringValuepublic Float decodeStringValue(String value) Description copied from interface:ValueTranscoderDecodes the supplied ldap attribute value into a custom type.- Parameters:
- value- to decode
- Returns:
- decoded value
 
 - 
getTypepublic Class<Float> getType() Description copied from interface:ValueTranscoderReturns the type produced by this value transcoder.- Returns:
- type produced by this value transcoder
 
 
- 
 
-