Package com.fasterxml.jackson.jr.ob.impl
Class CollectionReader
- java.lang.Object
-
- com.fasterxml.jackson.jr.ob.impl.ValueReader
-
- com.fasterxml.jackson.jr.ob.impl.CollectionReader
-
public class CollectionReader extends ValueReader
Reader for typedCollection
values.
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<?>
_collectionType
protected ValueReader
_valueReader
-
Constructor Summary
Constructors Constructor Description CollectionReader(Class<?> t, ValueReader vr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
read(JSONReader r, com.fasterxml.jackson.core.JsonParser p)
Object
readNext(JSONReader r, com.fasterxml.jackson.core.JsonParser p)
-
Methods inherited from class com.fasterxml.jackson.jr.ob.impl.ValueReader
_tokenDesc, _tokenDesc
-
-
-
-
Field Detail
-
_collectionType
protected final Class<?> _collectionType
-
_valueReader
protected final ValueReader _valueReader
-
-
Constructor Detail
-
CollectionReader
public CollectionReader(Class<?> t, ValueReader vr)
-
-
Method Detail
-
readNext
public Object readNext(JSONReader r, com.fasterxml.jackson.core.JsonParser p) throws IOException
- Specified by:
readNext
in classValueReader
- Throws:
IOException
-
read
public Object read(JSONReader r, com.fasterxml.jackson.core.JsonParser p) throws IOException
- Specified by:
read
in classValueReader
- Throws:
IOException
-
-