| Modifier and Type | Field and Description |
|---|---|
| protected TreeMap | _byIndex
Child entries with integral number index, if any. |
| protected Map | _byName
Child entries accessed with String property name, if any. |
| protected boolean | |
| protected String | _value
Value for the path, for leaf nodes; usually null for branches. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JPropNode | |
| public JPropNode | |
| public Iterator | |
| public Object | asRaw()
Helper method, mostly for debugging/testing, to convert structure contained into simple List/Map/String equivalent. |
| public String | |
| public boolean | |
| public boolean | |
| public Iterator | |
| public JPropNode |
| _byIndex | back to summary |
|---|---|
| protected TreeMap<Integer, JPropNode> _byIndex Child entries with integral number index, if any. | |
| _byName | back to summary |
|---|---|
| protected Map<String, JPropNode> _byName Child entries accessed with String property name, if any. | |
| _hasContents | back to summary |
|---|---|
| protected boolean _hasContents | |
| _value | back to summary |
|---|---|
| protected String _value Value for the path, for leaf nodes; usually null for branches. If both children and value exists, typically need to construct bogus value with empty String key. | |
| JPropNode | back to summary |
|---|---|
| public JPropNode() | |
| addByIndex | back to summary |
|---|---|
| public JPropNode addByIndex(int index) | |
| addByName | back to summary |
|---|---|
| public JPropNode addByName(String name) | |
| arrayContents | back to summary |
|---|---|
| public Iterator | |
| asRaw | back to summary |
|---|---|
| public Object asRaw() Helper method, mostly for debugging/testing, to convert structure contained into simple List/Map/String equivalent. | |
| getValue | back to summary |
|---|---|
| public String getValue() | |
| isArray | back to summary |
|---|---|
| public boolean isArray() | |
| isLeaf | back to summary |
|---|---|
| public boolean isLeaf() | |
| objectContents | back to summary |
|---|---|
| public Iterator Child entries accessed with String property name, if any. | |
| setValue | back to summary |
|---|---|
| public JPropNode setValue(String v) | |