Interface Node
- All Known Implementing Classes:
Node.JsonList,Node.JsonMap
public interface Node
For internal use only!!! Abstract node representation.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNode.JsonListstatic classNode.JsonMapstatic classNode.KeyValuestatic classNode.NodeTypestatic interfaceNode.ValueExtractor -
Field Summary
Fields Modifier and Type Field Description static NodeMISSING_NODE -
Method Summary
Modifier and Type Method Description void___do_not_implement_this_interface_seriously()Iterator<Node>arrayElements()BooleanasBoolean()StringasText()BigDecimaldecimalValue()Nodeelement(int index)Iterator<Node.KeyValue>fields()Nodeget(String key)Node.NodeTypegetNodeType()ObjectgetValue()default booleanisIntegralNumber()Returns true if the value is an integer.booleanisMissingNode()booleanisNull()intsize()Array length
-
Field Details
-
Method Details
-
element
-
fields
Iterator<Node.KeyValue> fields() -
get
-
isMissingNode
boolean isMissingNode() -
isNull
boolean isNull() -
arrayElements
-
size
int size()Array length -
asText
String asText() -
getNodeType
Node.NodeType getNodeType() -
decimalValue
BigDecimal decimalValue() -
isIntegralNumber
default boolean isIntegralNumber()Returns true if the value is an integer. 1 is an integer 1.0, 1.1, 1e3, 1e0, 1e-3 is not. -
asBoolean
Boolean asBoolean() -
getValue
Object getValue() -
___do_not_implement_this_interface_seriously
void ___do_not_implement_this_interface_seriously()
-