- All Superinterfaces:
ConfigNode
,Map<String,
ConfigNode>
- All Known Implementing Classes:
ObjectNodeImpl
- Enclosing interface:
- ConfigNode
Configuration node representing a hierarchical structure parsed by a
suitable
ConfigParser
if necessary.
In the map exposed by this interface, the map keys are String
s
containing the fully-qualified dotted names of the config keys and the
map values are the corresponding ConfigNode.ValueNode
or ConfigNode.ListNode
instances. The map never contains ConfigNode.ObjectNode
values because the
ConfigNode.ObjectNode
is implemented as a flat map.
NOTE: Do not implement this interface yourself but rather use
builder()
.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Builder to buildConfigNode.ObjectNode
instance.Nested classes/interfaces inherited from interface io.helidon.config.spi.ConfigNode
ConfigNode.ListNode, ConfigNode.NodeType, ConfigNode.ObjectNode, ConfigNode.ValueNode
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates new instance ofConfigNode.ObjectNode.Builder
.static ConfigNode.ObjectNode
empty()
Returns empty object node.default ConfigNode.NodeType
nodeType()
Get the type of this node.static ConfigNode.ObjectNode
Returns an object node containing a single simple value.Methods inherited from interface io.helidon.config.spi.ConfigNode
value
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
nodeType
Description copied from interface:ConfigNode
Get the type of this node.- Specified by:
nodeType
in interfaceConfigNode
- Returns:
- NodeType this node represents
-
empty
Returns empty object node.- Returns:
- empty object node.
-
simple
Returns an object node containing a single simple value.- Parameters:
key
- key of the valuevalue
- value- Returns:
- a new object node
-
builder
Creates new instance ofConfigNode.ObjectNode.Builder
.- Returns:
- new instance of
ConfigNode.ObjectNode.Builder
.
-