Class ObjectCodecService.StringCodec
java.lang.Object
org.nuxeo.ecm.automation.io.services.codec.ObjectCodec<String>
org.nuxeo.ecm.automation.io.services.codec.ObjectCodecService.StringCodec
- Enclosing class:
- ObjectCodecService
- 
Field SummaryFields inherited from class org.nuxeo.ecm.automation.io.services.codec.ObjectCodectype
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetType()Get this codec type.booleanWhether this codec is a builtin codecread(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) When the object codec is called the stream is positioned on the first value.voidregister(ObjectCodecService service) voidMethods inherited from class org.nuxeo.ecm.automation.io.services.codec.ObjectCodecfindParametrizedType, getJavaType
- 
Constructor Details- 
StringCodecpublic StringCodec()
 
- 
- 
Method Details- 
getTypeDescription copied from class:ObjectCodecGet this codec type. Implementors can override to return a short name. The default name is the object type name.- Overrides:
- getTypein class- ObjectCodec<String>
 
- 
write- Overrides:
- writein class- ObjectCodec<String>
- Throws:
- IOException
 
- 
readpublic String read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) throws IOException Description copied from class:ObjectCodecWhen the object codec is called the stream is positioned on the first value. For inlined objects this is the first value after the "entity-type" property. For non inlined objects this will be the object itself (i.e. '{' or '[')- Overrides:
- readin class- ObjectCodec<String>
- Throws:
- IOException
 
- 
isBuiltinpublic boolean isBuiltin()Description copied from class:ObjectCodecWhether this codec is a builtin codec- Overrides:
- isBuiltinin class- ObjectCodec<String>
 
- 
register
 
-