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 java.lang.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 java.lang.String
_tokenDesc(com.fasterxml.jackson.core.JsonParser p)
protected static java.lang.String
_tokenDesc(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.core.JsonToken t)
abstract java.lang.Object
read(JSONReader reader, com.fasterxml.jackson.core.JsonParser p)
abstract java.lang.Object
readNext(JSONReader reader, com.fasterxml.jackson.core.JsonParser p)
-
-
-
Method Detail
-
read
public abstract java.lang.Object read(JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException
- Throws:
java.io.IOException
-
readNext
public abstract java.lang.Object readNext(JSONReader reader, com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException
- Throws:
java.io.IOException
-
_tokenDesc
protected java.lang.String _tokenDesc(com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException
- Throws:
java.io.IOException
-
_tokenDesc
protected static java.lang.String _tokenDesc(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.core.JsonToken t) throws java.io.IOException
- Throws:
java.io.IOException
-
-