public abstract class JPropReadContext
extends com.fasterxml.jackson.core.JsonStreamContext
JPropNodes.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | JPropReadContext.ArrayContextCursor used for traversing non-empty JSON Array nodes | 
| protected static class  | JPropReadContext.ObjectContextCursor used for traversing non-empty JSON Object nodes | 
| Modifier and Type | Field and Description | 
|---|---|
| protected String | _branchTextOptional "this" value for cases where path branches have
 direct values; these are exposed before child values
 with bogus 'name' of empty String. | 
| protected String | _currentNameCurrent field name | 
| protected String | _currentText | 
| protected Object | _currentValueJava-level Object that corresponds to this level of input hierarchy,
 if any; used by databinding functionality, opaque for parser. | 
| protected JPropNode | _nextNodeWe need to keep track of value nodes to construct further contexts. | 
| protected JPropReadContext | _parentParent cursor of this cursor, if any; null for root
 cursors. | 
| protected int | _state | 
| Constructor and Description | 
|---|
| JPropReadContext(int contextType,
                JPropReadContext p,
                JPropNode node) | 
| Modifier and Type | Method and Description | 
|---|---|
| static JPropReadContext | create(JPropNode root) | 
| String | getCurrentName() | 
| String | getCurrentText() | 
| Object | getCurrentValue() | 
| JPropReadContext | getParent() | 
| JPropReadContext | nextContext()Method called to figure out child or parent context when change
 is needed, as indicated by this context returning `null`. | 
| abstract com.fasterxml.jackson.core.JsonToken | nextToken() | 
| void | overrideCurrentName(String name) | 
| void | setCurrentValue(Object v) | 
protected final JPropReadContext _parent
protected String _currentName
protected String _currentText
protected Object _currentValue
protected JPropNode _nextNode
protected String _branchText
protected int _state
public JPropReadContext(int contextType,
                JPropReadContext p,
                JPropNode node)
public static JPropReadContext create(JPropNode root)
public final JPropReadContext getParent()
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic final String getCurrentName()
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic void overrideCurrentName(String name)
public Object getCurrentValue()
getCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic void setCurrentValue(Object v)
setCurrentValue in class com.fasterxml.jackson.core.JsonStreamContextpublic abstract com.fasterxml.jackson.core.JsonToken nextToken()
public JPropReadContext nextContext()
public String getCurrentText()
Copyright © 2017 FasterXML. All rights reserved.