public class ParserContext extends BaseParserContext implements Iterable<ParserContext>
| Modifier and Type | Class and Description |
|---|---|
class |
ParserContext.ArrayIterator |
class |
ParserContext.FieldIterator |
| Constructor and Description |
|---|
ParserContext(ParserContext parent,
String name,
com.fasterxml.jackson.databind.JsonNode jsonNode,
boolean anonymousInner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asBoolean() |
String |
asText() |
ParserContext |
get(String name) |
Boolean |
getBooleanNode(String fieldName) |
Boolean |
getBooleanNode(String fieldName,
Boolean defaultValue) |
Double |
getDoubleNode(String fieldName) |
double |
getDoubleNode(String fieldName,
double defaultValue) |
com.fasterxml.jackson.databind.JsonNode |
getJsonNode() |
Long |
getLongNode(String fieldName) |
long |
getLongNode(String fieldName,
long defaultValue) |
String |
getName() |
ParserContext |
getParent() |
String |
getText(String name) |
String |
getText(String name,
String defaultValue) |
String |
getTextNode(String fieldName) |
boolean |
isAnonymousInner() |
boolean |
isArray() |
boolean |
isBoolean() |
boolean |
isEmpty() |
boolean |
isObject() |
boolean |
isTextual() |
Iterator<ParserContext> |
iterator() |
int |
size() |
String |
toString() |
getAllProblems, getErrors, getInfos, getPath, getRootParserContext, getWarnings, raise, raise, raiseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic ParserContext(ParserContext parent, String name, com.fasterxml.jackson.databind.JsonNode jsonNode, boolean anonymousInner)
public ParserContext getParent()
public ParserContext get(String name)
public com.fasterxml.jackson.databind.JsonNode getJsonNode()
public String getName()
public boolean isAnonymousInner()
public boolean isEmpty()
public int size()
public final boolean isArray()
public final boolean isObject()
public final boolean isTextual()
public final boolean isBoolean()
public boolean asBoolean()
public String asText()
public Iterator<ParserContext> iterator()
iterator in interface Iterable<ParserContext>public long getLongNode(String fieldName, long defaultValue)
public double getDoubleNode(String fieldName, double defaultValue)
Copyright © 2018 Symphony Software Foundation. All rights reserved.