public abstract class Node extends Object implements INode
The base class for all nodes of an Aspose.Note document.
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(DocumentVisitor visitor)
Accepts the visitor of the node.
|
Document |
getDocument()
Gets the document of the node.
|
INode |
getNextSibling()
Gets the next node at the same node tree level.
|
int |
getNodeType()
Gets the node type.
|
ICompositeNode |
getParentNode()
Gets the parent node.
|
INode |
getPreviousSibling()
Gets the previous node at the same node tree level.
|
boolean |
isComposite()
Gets a value indicating whether this node is composite.
|
public Document getDocument()
Gets the document of the node.
Value: The document.public boolean isComposite()
Gets a value indicating whether this node is composite. If true the node can have child nodes.
public int getNodeType()
Gets the node type.
public ICompositeNode getParentNode()
Gets the parent node.
public INode getPreviousSibling()
Gets the previous node at the same node tree level.
Value: The previous sibling.getPreviousSibling
in interface INode
public INode getNextSibling()
Gets the next node at the same node tree level.
Value: The next sibling.getNextSibling
in interface INode
public abstract void accept(DocumentVisitor visitor)
Accepts the visitor of the node.