Class CompositeNodeBase

CompositeNodeBase class

The non-generic class for nodes that can contain other nodes.

public abstract class CompositeNodeBase : Node, ICompositeNode

Properties

NameDescription
Document { get; }Gets the document of the node.
virtual IsComposite { get; }Gets a value indicating whether this node is composite. If true the node can have child nodes.
NextSibling { get; }Gets the next node at the same node tree level.
NodeType { get; }Gets the node type.
ParentNode { get; }Gets the parent node.
PreviousSibling { get; }Gets the previous node at the same node tree level.

Methods

NameDescription
abstract Accept(DocumentVisitor)Accepts the visitor of the node.
abstract GetChildNodes<T1>()Get all child nodes by the node type.

See Also