public class EmptyDataNode extends DefaultDataNode
| Constructor and Description |
|---|
EmptyDataNode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsChildren()
The DefaultDataNode implementation of this method returns
false.
|
java.util.Iterator |
getChildIterator()
The DefaultDataNode implementation of this method throws
UnsupportedOperationException
(
DefaultDataNode.allowsChildren() is false). |
java.lang.String |
getName()
Gets the name of this object.
|
java.lang.String |
toString() |
beep, configureDetail, getChildMaker, getCreator, getDataObject, getDescription, getIcon, getLabel, getNodeTLA, getNodeType, getParentObject, getPathElement, getPathSeparator, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObjectpublic boolean allowsChildren()
DefaultDataNodeallowsChildren in interface DataNodeallowsChildren in class DefaultDataNodetrue if the node is of a type which can have
child nodes, false otherwisepublic java.util.Iterator getChildIterator()
DefaultDataNodeDefaultDataNode.allowsChildren() is false).getChildIterator in interface DataNodegetChildIterator in class DefaultDataNodeIterator over the children. Each object
iterated over should be a DataNode.
Behaviour is undefined if this method is called on an
object for which allowsChildren returns
false.public java.lang.String getName()
DataNodegetName in interface DataNodegetName in class DefaultDataNodepublic java.lang.String toString()
toString in class DefaultDataNodeCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.