CompositeNodeT Class
The base generic class for nodes that can contain other nodes.
Inheritance Hierarchy

Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1
public abstract class CompositeNode<T> : CompositeNodeBase, 
	IEnumerable<T>, IEnumerable
where T : INode

Type Parameters

The type of elements in the composite node.

The CompositeNodeT type exposes the following members.

Protected methodCompositeNodeT(NodeType)
Initializes a new instance of the CompositeNodeT class.
Protected methodCompositeNodeT(Document, NodeType)
Initializes a new instance of the CompositeNodeT class. The class protected constructor.
Public propertyChildren
Gets all child nodes of this node as an enumerable collection.
Public propertyDocument
Gets the document of the node.
(Inherited from Node.)
Public propertyFirstChild
Gets the first child node of this node.
Public propertyIsComposite
Checks whether the node is composite. If true then the node can have child nodes.
(Overrides NodeIsComposite.)
Public propertyLastChild
Gets the last child node of this node.
Public propertyNextSibling
Gets the next node at the same node tree level.
(Inherited from Node.)
Public propertyNodeType
Gets the node type.
(Inherited from Node.)
Public propertyParentNode
Gets the parent node.
(Inherited from Node.)
Public propertyPreviousSibling
Gets the previous node at the same node tree level.
(Inherited from Node.)
Public methodAccept
Accepts the visitor of the node.
(Overrides NodeAccept(DocumentVisitor).)
Public methodAppendChild
Adds the node to the end of the list of child nodes for this node.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetChildNodes(NodeType) Obsolete.
Get all child nodes by node type.
(Overrides CompositeNodeBaseGetChildNodes(NodeType).)
Public methodGetChildNodesT1
Get all child nodes by the node type.
(Overrides CompositeNodeBaseGetChildNodesT1.)
Public methodGetEnumerator
Returns an enumerator that iterates through child nodes of the CompositeNodeT.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetText
Get all text from the node.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveChild
Removes the child node.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also
Inheritance Hierarchy