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

MethodDescription
accept(DocumentVisitor visitor)Accepts the visitor of the node.
getDocument()Gets the document of the node.
getNextSibling()Gets the next node at the same node tree level.
getNodeId()Gets the node’s ID.
getNodeType()नोड प्रकार प्राप्त करता है।
getParentNode()पैरेंट नोड प्राप्त करता है।
getPreviousSibling()समान नोड ट्री स्तर पर पिछला नोड प्राप्त करता है।
isComposite()Gets a value indicating whether this node is composite.

accept(DocumentVisitor visitor)

public abstract void accept(DocumentVisitor visitor)

Accepts the visitor of the node.

Parameters:

ParameterTypeDescription
visitorDocumentVisitorThe object of a class derived from the DocumentVisitor.

getDocument()

public Document getDocument()

Gets the document of the node.

मान: दस्तावेज़।

Returns: Document

getNextSibling()

public INode getNextSibling()

Gets the next node at the same node tree level.

मान: अगला सहभाई।

Returns: INode

getNodeId()

public ExtendedGuid getNodeId()

Gets the node’s ID.

Returns: ExtendedGuid

getNodeType()

public int getNodeType()

नोड प्रकार प्राप्त करता है।

Returns: int

getParentNode()

public ICompositeNode getParentNode()

पैरेंट नोड प्राप्त करता है।

Returns: ICompositeNode

getPreviousSibling()

public INode getPreviousSibling()

समान नोड ट्री स्तर पर पिछला नोड प्राप्त करता है।

मान: पिछला सहभाई।

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