public class JPropNode extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected TreeMap<Integer,JPropNode> | _byIndexChild entries with integral number index, if any. | 
| protected Map<String,JPropNode> | _byNameChild entries accessed with String property name, if any. | 
| protected boolean | _hasContents | 
| protected String | _valueValue for the path, for leaf nodes; usually null for branches. | 
| Constructor and Description | 
|---|
| JPropNode() | 
| Modifier and Type | Method and Description | 
|---|---|
| JPropNode | addByIndex(int index) | 
| JPropNode | addByName(String name) | 
| Iterator<JPropNode> | arrayContents() | 
| Object | asRaw()Helper method, mostly for debugging/testing, to convert structure contained
 into simple List/Map/String equivalent. | 
| String | getValue() | 
| boolean | isArray() | 
| boolean | isLeaf() | 
| Iterator<Map.Entry<String,JPropNode>> | objectContents()Child entries accessed with String property name, if any. | 
| JPropNode | setValue(String v) | 
protected String _value
protected TreeMap<Integer,JPropNode> _byIndex
protected Map<String,JPropNode> _byName
protected boolean _hasContents
public JPropNode addByIndex(int index)
public boolean isLeaf()
public boolean isArray()
public String getValue()
public Iterator<Map.Entry<String,JPropNode>> objectContents()
public Object asRaw()
Copyright © 2017 FasterXML. All rights reserved.