Class JsonLocationAwareObjectNode
- 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.ObjectNode>
-
- com.fasterxml.jackson.databind.node.ObjectNode
-
- com.networknt.schema.serialization.node.JsonLocationAwareObjectNode
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode
,com.fasterxml.jackson.databind.JsonSerializable
,com.fasterxml.jackson.databind.node.JsonNodeCreator
,JsonLocationAware
,Serializable
,Iterable<com.fasterxml.jackson.databind.JsonNode>
public class JsonLocationAwareObjectNode extends com.fasterxml.jackson.databind.node.ObjectNode implements JsonLocationAware
ObjectNode
that isJsonLocationAware
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonLocationAwareObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nc, com.fasterxml.jackson.core.JsonLocation tokenLocation)
JsonLocationAwareObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nc, Map<String,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.ObjectNode
_at, _childrenEqual, _contentsToSerialize, _put, _withArray, _withArrayAddTailProperty, _withObject, _withObjectAddTailProperty, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isEmpty, isObject, path, path, properties, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putIfAbsent, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeFilteredContents, serializeWithType, set, setAll, setAll, size, with, withArray, withArrayProperty, withObject, withObjectProperty, without, without
-
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, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue, withArray, withArray, withObject, withObject
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
JsonLocationAwareObjectNode
public JsonLocationAwareObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nc, Map<String,com.fasterxml.jackson.databind.JsonNode> children, com.fasterxml.jackson.core.JsonLocation tokenLocation)
-
JsonLocationAwareObjectNode
public JsonLocationAwareObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory nc, 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
-
-