Düğüm

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.note.INode

public abstract class Node implements INode

Aspose.Note belgesindeki tüm düğümler için temel sınıf.

Yöntemler

YöntemAçıklama
accept(DocumentVisitor visitor)Düğümün ziyaretçisini kabul eder.
getDocument()Düğümün belgesini alır.
getNextSibling()Aynı düğüm ağacı seviyesindeki sonraki düğümü alır.
getNodeId()Düğümün kimliğini alır.
getNodeType()Düğüm türünü alır.
getParentNode()Üst düğümü alır.
getPreviousSibling()Aynı düğüm ağacı seviyesindeki önceki düğümü alır.
isComposite()Bu düğümün birleşik olup olmadığını gösteren bir değeri alır.

accept(DocumentVisitor visitor)

public abstract void accept(DocumentVisitor visitor)

Düğümün ziyaretçisini kabul eder.

Parameters:

ParametreTürAçıklama
visitorDocumentVisitorDocumentVisitor sınıfından türetilen bir sınıfın nesnesi.

getDocument()

public Document getDocument()

Düğümün belgesini alır.

Değer: Belge.

Returns: Document

getNextSibling()

public INode getNextSibling()

Aynı düğüm ağacı seviyesindeki sonraki düğümü alır.

Değer: Sonraki kardeş.

Returns: INode

getNodeId()

public ExtendedGuid getNodeId()

Düğümün kimliğini alır.

Returns: ExtendedGuid

getNodeType()

public int getNodeType()

Düğüm türünü alır.

Returns: int

getParentNode()

public ICompositeNode getParentNode()

Üst düğümü alır.

Returns: ICompositeNode

getPreviousSibling()

public INode getPreviousSibling()

Aynı düğüm ağacı seviyesindeki önceki düğümü alır.

Değer: Önceki kardeş.

Returns: INode

isComposite()

public boolean isComposite()

Bu düğümün birleşik olup olmadığını gösteren bir değeri alır. Doğru ise düğüm alt düğümlere sahip olabilir.

Returns: boolean