public final class YamlNode
extends com.fasterxml.jackson.databind.node.ObjectNode
ObjectNode based YamlNode with improved fluent API.| Modifier and Type | Method and Description |
|---|---|
YamlNode |
compute(Consumer<YamlNode> consumer) |
static YamlNode |
create() |
YamlNode |
put(String fieldName,
BigDecimal v) |
YamlNode |
put(String fieldName,
BigInteger v) |
YamlNode |
put(String fieldName,
boolean v) |
YamlNode |
put(String fieldName,
Boolean v) |
YamlNode |
put(String fieldName,
byte[] v) |
YamlNode |
put(String fieldName,
double v) |
YamlNode |
put(String fieldName,
Double v) |
YamlNode |
put(String fieldName,
float v) |
YamlNode |
put(String fieldName,
Float v) |
YamlNode |
put(String fieldName,
int v) |
YamlNode |
put(String fieldName,
Integer v) |
YamlNode |
put(String fieldName,
com.fasterxml.jackson.databind.JsonNode value)
Method that will set specified field, replacing old value, if any.
|
YamlNode |
put(String fieldName,
long v) |
YamlNode |
put(String fieldName,
Long v) |
YamlNode |
put(String fieldName,
Object obj) |
YamlNode |
put(String fieldName,
short v) |
YamlNode |
put(String fieldName,
Short v) |
YamlNode |
put(String fieldName,
String v) |
YamlNode |
putNull(String fieldName) |
YamlNode |
putPOJO(String fieldName,
Object pojo) |
YamlNode |
putRawValue(String fieldName,
com.fasterxml.jackson.databind.util.RawValue raw) |
YamlNode |
remove(Collection<String> fieldNames) |
com.fasterxml.jackson.databind.JsonNode |
remove(String fieldName)
IMPORTANT: Does NOT return this node for chaining.
|
YamlNode |
removeAll() |
com.fasterxml.jackson.databind.JsonNode |
replace(String fieldName,
com.fasterxml.jackson.databind.JsonNode value)
IMPORTANT: Does NOT return this node for chaining.
|
YamlNode |
retain(Collection<String> fieldNames) |
YamlNode |
retain(String... fieldNames) |
YamlNode |
set(String fieldName,
com.fasterxml.jackson.databind.JsonNode value) |
<T extends com.fasterxml.jackson.databind.JsonNode> |
setAll(Map<String,? extends com.fasterxml.jackson.databind.JsonNode> properties) |
YamlNode |
setAll(com.fasterxml.jackson.databind.node.ObjectNode other) |
String |
toPrettyString() |
String |
toString() |
<T extends com.fasterxml.jackson.databind.JsonNode> |
without(Collection<String> fieldNames) |
YamlNode |
without(String fieldName) |
_at, _childrenEqual, _put, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isEmpty, isObject, path, path, putAll, putAll, putArray, putObject, required, serialize, serializeWithType, size, with, withArrayarrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNodefindPath, numberType, required, traverse, traverse_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, textValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static YamlNode create()
public YamlNode put(String fieldName, BigDecimal v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, BigInteger v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, boolean v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, Boolean v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, byte[] v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, com.fasterxml.jackson.databind.JsonNode value)
put in class com.fasterxml.jackson.databind.node.ObjectNodevalue - to set field to; if null, will be converted
to a NullNode first (to remove field entry, call
remove(java.util.Collection<java.lang.String>) instead)public YamlNode put(String fieldName, double v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, Double v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, float v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, Float v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, int v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, Integer v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, long v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, Long v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, short v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, Short v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode put(String fieldName, String v)
put in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode putNull(String fieldName)
putNull in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode putPOJO(String fieldName, Object pojo)
putPOJO in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode putRawValue(String fieldName, com.fasterxml.jackson.databind.util.RawValue raw)
putRawValue in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode remove(Collection<String> fieldNames)
remove in class com.fasterxml.jackson.databind.node.ObjectNodepublic com.fasterxml.jackson.databind.JsonNode remove(String fieldName)
remove in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode removeAll()
removeAll in class com.fasterxml.jackson.databind.node.ObjectNodepublic com.fasterxml.jackson.databind.JsonNode replace(String fieldName, com.fasterxml.jackson.databind.JsonNode value)
replace in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode retain(Collection<String> fieldNames)
retain in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode retain(String... fieldNames)
retain in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode set(String fieldName, com.fasterxml.jackson.databind.JsonNode value)
set in class com.fasterxml.jackson.databind.node.ObjectNodepublic <T extends com.fasterxml.jackson.databind.JsonNode> T setAll(Map<String,? extends com.fasterxml.jackson.databind.JsonNode> properties)
setAll in class com.fasterxml.jackson.databind.node.ObjectNodepublic YamlNode setAll(com.fasterxml.jackson.databind.node.ObjectNode other)
setAll in class com.fasterxml.jackson.databind.node.ObjectNodepublic String toPrettyString()
toPrettyString in class com.fasterxml.jackson.databind.node.BaseJsonNodepublic String toString()
toString in class com.fasterxml.jackson.databind.node.BaseJsonNodepublic <T extends com.fasterxml.jackson.databind.JsonNode> T without(Collection<String> fieldNames)
without in class com.fasterxml.jackson.databind.node.ObjectNodeCopyright © 2010–2021 Vegard IT GmbH, Germany. All rights reserved.