Node
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.note.INode
public abstract class Node implements INode
The base class for all nodes of an Aspose.Note document.
Methods
accept(DocumentVisitor visitor)
public abstract void accept(DocumentVisitor visitor)
Accepts the visitor of the node.
Parameters:
getDocument()
public Document getDocument()
Gets the document of the node.
Value: The document.
Returns: Document
getNextSibling()
public INode getNextSibling()
Gets the next node at the same node tree level.
Value: The next sibling.
Returns: INode
getNodeId()
public ExtendedGuid getNodeId()
Gets the node’s ID.
Returns: ExtendedGuid
getNodeType()
public int getNodeType()
Gets the node type.
Returns: int
getParentNode()
public ICompositeNode getParentNode()
Gets the parent node.
Returns: ICompositeNode
getPreviousSibling()
public INode getPreviousSibling()
Gets the previous node at the same node tree level.
Value: The previous sibling.
Returns: INode
isComposite()
public boolean isComposite()
Gets a value indicating whether this node is composite. If true the node can have child nodes.
Returns: boolean
