Class JsonLocationAwareArrayNode
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializable.Base
-
- com.fasterxml.jackson.databind.JsonNode
-
- com.fasterxml.jackson.databind.node.BaseJsonNode
-
- com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ArrayNode>
-
- com.fasterxml.jackson.databind.node.ArrayNode
-
- com.networknt.schema.serialization.node.JsonLocationAwareArrayNode
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode
,com.fasterxml.jackson.databind.JsonSerializable
,com.fasterxml.jackson.databind.node.JsonNodeCreator
,JsonLocationAware
,java.io.Serializable
,java.lang.Iterable<com.fasterxml.jackson.databind.JsonNode>
public class JsonLocationAwareArrayNode extends com.fasterxml.jackson.databind.node.ArrayNode implements JsonLocationAware
ArrayNode
that isJsonLocationAware
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
private com.fasterxml.jackson.core.JsonLocation
tokenLocation
-
Constructor Summary
Constructors Constructor Description JsonLocationAwareArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nf, int capacity, com.fasterxml.jackson.core.JsonLocation tokenLocation)
JsonLocationAwareArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nf, com.fasterxml.jackson.core.JsonLocation tokenLocation)
JsonLocationAwareArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nf, java.util.List<com.fasterxml.jackson.databind.JsonNode> children, com.fasterxml.jackson.core.JsonLocation tokenLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.core.JsonLocation
tokenLocation()
Gets the token location.-
Methods inherited from class com.fasterxml.jackson.databind.node.ArrayNode
_add, _at, _childrenEqual, _insert, _set, _withArray, _withArrayAddTailElement, _withObject, _withObjectAddTailElement, _withXxxSetArrayElement, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, addArray, addNull, addObject, addPOJO, addRawValue, asToken, deepCopy, elements, equals, equals, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insertArray, insertNull, insertObject, insertPOJO, insertRawValue, isArray, isEmpty, isEmpty, path, path, remove, removeAll, required, serialize, serializeWithType, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setNull, setPOJO, setRawValue, size, with, withArray
-
Methods inherited from class com.fasterxml.jackson.databind.node.ContainerNode
arrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNode
-
Methods inherited from class com.fasterxml.jackson.databind.node.BaseJsonNode
_bigIntFromBigDec, _jsonPointerIfValid, _reportWrongNodeOperation, _reportWrongNodeType, _withXxxMayReplace, _withXxxVerifyReplace, findPath, numberType, required, toPrettyString, toString, traverse, traverse, withArray, withObject
-
Methods inherited from class com.fasterxml.jackson.databind.JsonNode
_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToExactIntegral, canConvertToInt, canConvertToLong, decimalValue, doubleValue, fieldNames, fields, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isObject, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, properties, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue, withArray, withArray, withArrayProperty, withObject, withObject, withObject, withObjectProperty
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
tokenLocation
private final com.fasterxml.jackson.core.JsonLocation tokenLocation
-
-
Constructor Detail
-
JsonLocationAwareArrayNode
public JsonLocationAwareArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nf, int capacity, com.fasterxml.jackson.core.JsonLocation tokenLocation)
-
JsonLocationAwareArrayNode
public JsonLocationAwareArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nf, java.util.List<com.fasterxml.jackson.databind.JsonNode> children, com.fasterxml.jackson.core.JsonLocation tokenLocation)
-
JsonLocationAwareArrayNode
public JsonLocationAwareArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nf, com.fasterxml.jackson.core.JsonLocation tokenLocation)
-
-
Method Detail
-
tokenLocation
public com.fasterxml.jackson.core.JsonLocation tokenLocation()
Description copied from interface:JsonLocationAware
Gets the token location.- Specified by:
tokenLocation
in interfaceJsonLocationAware
- Returns:
- the token location
-
-