public abstract class Node extends Leaf implements java.lang.Iterable<Leaf>
Modifier | Constructor and Description |
---|---|
protected |
Node(org.xml.sax.Locator location,
Leaf leaf) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Leaf child)
|
boolean |
hasOneChild()
Returns true if this node has only one child node.
|
java.util.Iterator<Leaf> |
iterator()
Iterates all the children.
|
createDataMethod, generate, getNext, getPrev, merge, siblings
public Leaf leaf
protected Node(org.xml.sax.Locator location, Leaf leaf)
public final java.util.Iterator<Leaf> iterator()
iterator
in interface java.lang.Iterable<Leaf>
public final boolean hasOneChild()
public final void addChild(Leaf child)