Class SimpleNode
java.lang.Object
ch.njol.skript.config.Node
ch.njol.skript.config.SimpleNode
- All Implemented Interfaces:
NodeNavigator, AnyNamed, AnyProvider, Iterable<Node>, Validated
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleNode(Config c) SimpleNode(String value, String comment, int lineNum, SectionNode parent) -
Method Summary
Methods inherited from class Node
debug, equals, getComment, getConfig, getCurrentNode, getIndentation, getKey, getLine, getParent, getPath, getPathSteps, hashCode, invalidate, isVoid, move, name, remove, rename, save, save, splitLine, splitLine, toString, validMethods inherited from interface AnyNamed
nameComponent, setName, setName, supportsNameChangeMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface NodeNavigator
getNodeAt, getNodeAt, getValue, iterator
-
Constructor Details
-
SimpleNode
-
SimpleNode
-
-
Method Details
-
set
-
get
Description copied from interface:NodeNavigatorObtains the immediate child node at this (direct) key. If this does not represent a node that can have children (e.g. anEntryNode) then it must returnnull.- Parameters:
key- The name of the node- Returns:
- The child node if one is present, otherwise
null
-