- 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 Strings
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder to buildConfigNode.ObjectNodeinstance.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.ObjectNodeempty()Returns empty object node.default ConfigNode.NodeTypenodeType()Get the type of this node.static ConfigNode.ObjectNodeReturns an object node containing a single simple value.Methods inherited from interface io.helidon.config.spi.ConfigNode
valueMethods 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:ConfigNodeGet the type of this node.- Specified by:
nodeTypein 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.
-