Interface ConfigNode<T>
-
- All Known Subinterfaces:
IConfigRootNode<T>
public interface ConfigNode<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddChildNode(ConfigNode<?> child)voidaddComment(java.lang.String comment)voidclearComments()java.lang.StringgetChildPath(java.lang.String key)java.util.ArrayList<ConfigNode<?>>getChildren()default ConfigNode<?>getChildWithKey(java.lang.String key)java.util.List<java.lang.String>getComments()IConfigConvertergetConfigConverter()java.lang.StringgetKey()ConfigNode<?>getParent()java.lang.StringgetPath()IConfigRootNode<?>getRoot()TgetValue()voidsetValue(T value)
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
-
getValue
T getValue()
-
setValue
void setValue(T value)
-
getParent
ConfigNode<?> getParent()
-
getChildren
java.util.ArrayList<ConfigNode<?>> getChildren()
-
addComment
void addComment(java.lang.String comment)
-
getComments
java.util.List<java.lang.String> getComments()
-
clearComments
void clearComments()
-
getConfigConverter
IConfigConverter getConfigConverter()
-
getPath
java.lang.String getPath()
-
getRoot
IConfigRootNode<?> getRoot()
-
addChildNode
void addChildNode(ConfigNode<?> child)
-
getChildPath
java.lang.String getChildPath(java.lang.String key)
-
getChildWithKey
default ConfigNode<?> getChildWithKey(java.lang.String key)
-
-