public class AnnotationEncoderFactory extends AbstractObjectEncoderFactory
Encoder and Decoder.
Note that the annotated methods must be static as the class cannot be instantiated to obtain the encoder/decoder instances.
| Constructor and Description |
|---|
AnnotationEncoderFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isFactoryForType(Class<?> type)
Determine if this factory supports the given class type.
|
protected TokenDecoder |
newDecoder(Class<?> type)
Create a new decoder instance for the given type.
|
protected TokenEncoder |
newEncoder(Class<?> type)
Create a new encoder instance for the given type.
|
isFactoryForType, newDecoder, newEncoderprotected boolean isFactoryForType(Class<?> type)
AbstractObjectEncoderFactoryisFactoryForType in class AbstractObjectEncoderFactorytype - the type to checkprotected TokenDecoder newDecoder(Class<?> type)
AbstractObjectEncoderFactorynewDecoder in class AbstractObjectEncoderFactorytype - the class which is to be decodedprotected TokenEncoder newEncoder(Class<?> type)
AbstractObjectEncoderFactorynewEncoder in class AbstractObjectEncoderFactorytype - the class which is to be decodedCopyright © 2016 Actian Corporation. All rights reserved.