Package ch.kk7.confij.tree
Class NodeDefinition.NodeDefinitionLeaf
java.lang.Object
ch.kk7.confij.tree.NodeDefinition
ch.kk7.confij.tree.NodeDefinition.NodeDefinitionLeaf
- Enclosing class:
- NodeDefinition
public static class NodeDefinition.NodeDefinitionLeaf extends NodeDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.kk7.confij.tree.NodeDefinition
NodeDefinition.NodeDefinitionLeaf, NodeDefinition.NodeDefinitionList, NodeDefinition.NodeDefinitionMap -
Constructor Summary
Constructors Constructor Description NodeDefinitionLeaf(NodeBindingContext nodeBindingContext) -
Method Summary
Modifier and Type Method Description @NonNull NodeDefinitiondefinitionForChild(java.lang.String configKey)booleanisValueHolder()Methods inherited from class ch.kk7.confij.tree.NodeDefinition
getMandatoryKeysMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NodeDefinitionLeaf
-
-
Method Details
-
definitionForChild
- Specified by:
definitionForChildin classNodeDefinition- Parameters:
configKey- the name/key of the child for which we want the definition- Returns:
- an instance of self for a given named child node.
-
isValueHolder
public boolean isValueHolder()- Overrides:
isValueHolderin classNodeDefinition- Returns:
- true if this is a leaf node and can hold a property value
-