Class EntityCodecImpl<T>
java.lang.Object
org.aksw.commons.codec.entity.impl.EntityCodecImpl<T>
- All Implemented Interfaces:
EntityCodec<T>,EntityCodecDirect<T>,EntityCodecIndirect<T>,EntityCodecIndirectBase<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EntityCodecIndirectBase<T>create(EntityTransform<T> encoder, EntityTransform<T> decoder) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.codec.entity.api.EntityCodecDirect
decodeOrGetAsGivenMethods inherited from interface org.aksw.commons.codec.entity.api.EntityCodecIndirectBase
canDecode, decode, encode
-
Field Details
-
encoder
-
decoder
-
-
Constructor Details
-
EntityCodecImpl
-
-
Method Details
-
getEncoder
- Specified by:
getEncoderin interfaceEntityCodecIndirect<T>
-
getDecoder
- Specified by:
getDecoderin interfaceEntityCodecIndirect<T>
-
create
public static <T> EntityCodecIndirectBase<T> create(EntityTransform<T> encoder, EntityTransform<T> decoder)
-