public interface TextNode
TextContainer
tree.Modifier and Type | Method and Description |
---|---|
int |
getChildCount()
Get the number of direct children of this node.
|
List<TextContainer> |
getChildren()
Get the ordered list of direct children of this node.
|
ListIterator<TextContainer> |
getIterator()
Get an iterator over all descendants of this node including this node.
|
ListIterator<TextContainer> |
getIterator(TextElementType type)
Get an iterator over the node and all descendants of this node of the specified type.
|
TextNode |
getNextSibling()
Get the right sibling of this node or null if this node has no right sibling.
|
TextNode |
getParent()
Get the parent node of this node or null if this node is the root.
|
TextNode |
getPrevSibling()
Get the left sibling of this node or null if this node has no left sibling.
|
int getChildCount()
TextNode getParent()
TextNode getPrevSibling()
TextNode getNextSibling()
List<TextContainer> getChildren()
ListIterator<TextContainer> getIterator()
ListIterator<TextContainer> getIterator(TextElementType type)
type
- the type of nodes to iterate overCopyright © 2024 Actian Corporation. All rights reserved.