public abstract class HoconNodeCursor
extends com.fasterxml.jackson.core.JsonStreamContext
| Modifier and Type | Class and Description |
|---|---|
protected static class |
HoconNodeCursor.Array
Cursor used for traversing non-empty JSON Array nodes
|
protected static class |
HoconNodeCursor.NumericallyIndexedObjectBackedArray
Cursor used for traversing non-empty JSON Object nodes and converting them to Arrays because they have numerically indexed keys
|
protected static class |
HoconNodeCursor.Object
Cursor used for traversing non-empty JSON Object nodes
|
protected static class |
HoconNodeCursor.RootValue |
| Modifier and Type | Field and Description |
|---|---|
protected String |
_currentName |
protected HoconNodeCursor |
_parent |
| Constructor and Description |
|---|
HoconNodeCursor(int contextType,
HoconNodeCursor p) |
| Modifier and Type | Method and Description |
|---|---|
protected static com.fasterxml.jackson.core.JsonToken |
asJsonToken(com.typesafe.config.ConfigValue value) |
String |
constructPath()
HOCON specific method to construct the path for this node.
|
abstract boolean |
currentHasChildren() |
abstract com.typesafe.config.ConfigValue |
currentNode() |
abstract com.fasterxml.jackson.core.JsonToken |
endToken() |
String |
getCurrentName() |
HoconNodeCursor |
getParent() |
protected static boolean |
isArray(com.typesafe.config.ConfigValue value) |
static boolean |
isNumericallyIndexed(com.typesafe.config.ConfigValue n) |
protected static boolean |
isObject(com.typesafe.config.ConfigValue value) |
HoconNodeCursor |
iterateChildren()
Method called to create a new context for iterating all
contents of the current structured value (JSON array or object)
|
abstract com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
overrideCurrentName(String name) |
protected final HoconNodeCursor _parent
protected String _currentName
public HoconNodeCursor(int contextType,
HoconNodeCursor p)
public HoconNodeCursor getParent()
getParent in class com.fasterxml.jackson.core.JsonStreamContextpublic String getCurrentName()
getCurrentName in class com.fasterxml.jackson.core.JsonStreamContextpublic void overrideCurrentName(String name)
public String constructPath()
public abstract com.fasterxml.jackson.core.JsonToken nextToken()
public abstract com.fasterxml.jackson.core.JsonToken endToken()
public abstract com.typesafe.config.ConfigValue currentNode()
public abstract boolean currentHasChildren()
protected static boolean isArray(com.typesafe.config.ConfigValue value)
protected static boolean isObject(com.typesafe.config.ConfigValue value)
protected static com.fasterxml.jackson.core.JsonToken asJsonToken(com.typesafe.config.ConfigValue value)
public final HoconNodeCursor iterateChildren()
public static boolean isNumericallyIndexed(com.typesafe.config.ConfigValue n)
Copyright © 2017. All rights reserved.