Interface ConfigNode.ValueNode
- All Superinterfaces:
ConfigNode
- All Known Implementing Classes:
ValueNodeImpl
- Enclosing interface:
ConfigNode
Single string-based configuration value.
NOTE: Do not implement this interface yourself but rather use create(String).
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConfigNode
ConfigNode.ListNode, ConfigNode.NodeType, ConfigNode.ObjectNode, ConfigNode.ValueNodeModifier 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
Modifier and TypeMethodDescriptionstatic ConfigNode.ValueNodeCreate new instance of theConfigNode.ValueNodefrom specified Stringvalue.get()Get the value of this value node.default ConfigNode.NodeTypenodeType()Get the type of this node.Methods inherited from interface ConfigNode
value
-
Method Details
-
nodeType
Description copied from interface:ConfigNodeGet the type of this node.- Specified by:
nodeTypein interfaceConfigNode- Returns:
- NodeType this node represents
-
get
-
create
Create new instance of theConfigNode.ValueNodefrom specified Stringvalue.- Parameters:
value- string value- Returns:
- new instance of the
ConfigNode.ValueNode
-