Package com.fasterxml.jackson.jr.ob.impl
Class ValueReader
- java.lang.Object
-
- com.fasterxml.jackson.jr.ob.impl.ValueReader
-
- Direct Known Subclasses:
AnyReader,ArrayReader,BeanReader,CollectionReader,EnumReader,JSONReader,MapReader,SimpleValueReader
public abstract class ValueReader extends Object
Helper class used when reading values of complex types other than Beans.Note that ugly "chameleon" style operation here is used to avoid creating multiple separate classes, which in turn is done to minimize size of resulting jars.
-
-
Constructor Summary
Constructors Constructor Description ValueReader()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String_tokenDesc(com.fasterxml.jackson.core.JsonParser p)protected static String_tokenDesc(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.core.JsonToken t)abstract Objectread(JSONReader reader, com.fasterxml.jackson.core.JsonParser p)abstract ObjectreadNext(JSONReader reader, com.fasterxml.jackson.core.JsonParser p)
-
-
-
Method Detail
-
read
public abstract Object read(JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws IOException
- Throws:
IOException
-
readNext
public abstract Object readNext(JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws IOException
- Throws:
IOException
-
_tokenDesc
protected String _tokenDesc(com.fasterxml.jackson.core.JsonParser p) throws IOException
- Throws:
IOException
-
_tokenDesc
protected static String _tokenDesc(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.core.JsonToken t) throws IOException
- Throws:
IOException
-
-