Package org.ldaptive.schema.transcode
Class ObjectClassValueTranscoder
- java.lang.Object
-
- org.ldaptive.transcode.AbstractStringValueTranscoder<T>
-
- org.ldaptive.schema.transcode.AbstractSchemaElementValueTranscoder<ObjectClass>
-
- org.ldaptive.schema.transcode.ObjectClassValueTranscoder
-
- All Implemented Interfaces:
ValueTranscoder<ObjectClass>
public class ObjectClassValueTranscoder extends AbstractSchemaElementValueTranscoder<ObjectClass>
Decodes and encodes an object class for use in an ldap attribute value.
-
-
Constructor Summary
Constructors Constructor Description ObjectClassValueTranscoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectClass
decodeStringValue(String value)
Decodes the supplied ldap attribute value into a custom type.Class<ObjectClass>
getType()
Returns the type produced by this value transcoder.-
Methods inherited from class org.ldaptive.schema.transcode.AbstractSchemaElementValueTranscoder
encodeStringValue
-
Methods inherited from class org.ldaptive.transcode.AbstractStringValueTranscoder
decodeBinaryValue, encodeBinaryValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ldaptive.transcode.ValueTranscoder
decoder, encoder
-
-
-
-
Method Detail
-
decodeStringValue
public ObjectClass decodeStringValue(String value)
Description copied from interface:ValueTranscoder
Decodes the supplied ldap attribute value into a custom type.- Parameters:
value
- to decode- Returns:
- decoded value
-
getType
public Class<ObjectClass> getType()
Description copied from interface:ValueTranscoder
Returns the type produced by this value transcoder.- Returns:
- type produced by this value transcoder
-
-