Package ch.njol.skript.config
Class VoidNode
java.lang.Object
ch.njol.skript.config.Node
ch.njol.skript.config.VoidNode
- All Implemented Interfaces:
NodeNavigator,AnyNamed,AnyProvider,Iterable<Node>,Validated
- Direct Known Subclasses:
InvalidNode
An empty line or a comment.
The subclass InvalidNode is used for invalid non-empty nodes, i.e. where a parsing error occurred.
-
Field Summary
-
Method Summary
Methods inherited from class ch.njol.skript.config.Node
debug, equals, getComment, getConfig, getCurrentNode, getIndentation, getLine, getParent, getPath, getPathSteps, hashCode, invalidate, isVoid, move, name, remove, rename, save, save, splitLine, splitLine, toString, validMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.util.common.AnyNamed
setName, supportsNameChangeMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface ch.njol.skript.config.NodeNavigator
getNodeAt, getNodeAt, getValue, iterator
-
Method Details
-
getKey
Description copied from class:NodeKey of this node. null for empty or invalid nodes, and the config's main node. -
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
-