public class JsonProcessingDomValue extends Object implements JsonDomValue<javax.json.JsonValue>
Constructor and Description |
---|
JsonProcessingDomValue(javax.json.JsonValue jsonElement) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
JsonDomChildren<JsonProcessingDomValue> |
getChildren()
Returns a map of child node names and their values.
|
javax.json.JsonValue |
getJsonElement()
Wrapped JSON element
|
String |
getTextValue()
Returns the text value.
|
JsonDomType |
getType()
Returns the JSON elements value type.
|
int |
hashCode() |
String |
toString() |
public JsonProcessingDomValue(javax.json.JsonValue jsonElement)
@NonNull public JsonDomChildren<JsonProcessingDomValue> getChildren()
For JSON objects and arrays a map of keys to wrapped values should be returned. For other JSON elements an empty map should be returned.
getChildren
in interface JsonDomValue<javax.json.JsonValue>
@NonNull public String getTextValue()
For JSON strings this is the string value without quotes. For other JSON elements it is their JSON representation.
getTextValue
in interface JsonDomValue<javax.json.JsonValue>
@NonNull public JsonDomType getType()
getType
in interface JsonDomValue<javax.json.JsonValue>
public javax.json.JsonValue getJsonElement()
getJsonElement
in interface JsonDomValue<javax.json.JsonValue>
protected boolean canEqual(@Nullable Object other)
Copyright © 2024. All rights reserved.