- All Known Subinterfaces:
ConfigNode.ListNode,ConfigNode.ObjectNode,ConfigNode.ValueNode,MergeableNode
- All Known Implementing Classes:
ObjectNodeImpl,ValueNodeImpl
public interface ConfigNode
Marker interface identifying a config node implementation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceConfigNode-based list of configuration values.static enumBase types of config nodes.static interfaceConfiguration node representing a hierarchical structure parsed by a suitableConfigParserif necessary.static interfaceSingle string-based configuration value. -
Method Summary
-
Method Details
-
nodeType
ConfigNode.NodeType nodeType()Get the type of this node.- Returns:
- NodeType this node represents
-
value
Get the direct value of this config node. Any node type can have a direct value.- Returns:
- a value if present,
emptyotherwise
-