Package com.dropbox.core.stone
Class CompositeSerializer<T>
- java.lang.Object
-
- com.dropbox.core.stone.StoneSerializer<T>
-
- com.dropbox.core.stone.CompositeSerializer<T>
-
- Direct Known Subclasses:
StructSerializer,UnionSerializer
public abstract class CompositeSerializer<T> extends StoneSerializer<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringTAG_FIELD
-
Constructor Summary
Constructors Constructor Description CompositeSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static booleanhasTag(com.fasterxml.jackson.core.JsonParser p)protected static java.lang.StringreadTag(com.fasterxml.jackson.core.JsonParser p)protected voidwriteTag(java.lang.String tag, com.fasterxml.jackson.core.JsonGenerator g)-
Methods inherited from class com.dropbox.core.stone.StoneSerializer
deserialize, deserialize, deserialize, expectEndArray, expectEndObject, expectField, expectStartArray, expectStartObject, getStringValue, serialize, serialize, serialize, serialize, serialize, skipFields, skipValue
-
-
-
-
Field Detail
-
TAG_FIELD
protected static final java.lang.String TAG_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasTag
protected static boolean hasTag(com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException- Throws:
java.io.IOExceptioncom.fasterxml.jackson.core.JsonParseException
-
readTag
protected static java.lang.String readTag(com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException- Throws:
java.io.IOExceptioncom.fasterxml.jackson.core.JsonParseException
-
writeTag
protected void writeTag(java.lang.String tag, com.fasterxml.jackson.core.JsonGenerator g) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException- Throws:
java.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-
-