com.fasterxml.jackson.jr.ob.impl
Class CollectionReader

java.lang.Object
  extended by com.fasterxml.jackson.jr.ob.impl.ValueReader
      extended by com.fasterxml.jackson.jr.ob.impl.CollectionReader

public class CollectionReader
extends ValueReader

Reader for typed Map values.


Field Summary
protected  Class<?> _collectionType
           
protected  ValueReader _valueReader
           
 
Constructor Summary
CollectionReader(Class<?> t, ValueReader vr)
           
 
Method Summary
 Object read(JSONReader r, JsonParser p)
           
 Object readNext(JSONReader r, JsonParser p)
           
 
Methods inherited from class com.fasterxml.jackson.jr.ob.impl.ValueReader
_tokenDesc, _tokenDesc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                       JsonParser p)
                throws IOException
Specified by:
readNext in class ValueReader
Throws:
IOException

read

public Object read(JSONReader r,
                   JsonParser p)
            throws IOException
Specified by:
read in class ValueReader
Throws:
IOException


Copyright © 2016 FasterXML. All rights reserved.