CompositeNodeT Class
The base generic class for nodes that can contain other nodes.
Inheritance Hierarchy
SystemObject
  Aspose.NoteNode
    Aspose.NoteCompositeNodeBase
      Aspose.NoteCompositeNodeT
        More...

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

Type Parameters

T
The type of elements in the composite node.

The CompositeNodeT type exposes the following members.

Constructors
  NameDescription
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.
Properties
  NameDescription
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.)
Methods
  NameDescription
Public methodAccept
Accepts the visitor of the node.
(Overrides NodeAccept(DocumentVisitor).)
Public methodAppendChild Obsolete.
Adds the node to the end of the list of child nodes for this node.
Public methodAppendChildFirst
Adds the node to the front of the list of child nodes for this node.
Public methodAppendChildLast
Adds the node to the end of the list of child nodes for this node.
Protected methodCheckDocument
Checks Document field of a new 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.)
Public methodInsertChild
Inserts the node to the specified position in the list of child nodes for this node.
Public methodInsertChildrenRange(Int32, IEnumerableT)
Inserts the node's sequence starting from specified position in the list of child nodes for this node.
Public methodInsertChildrenRange(Int32, T)
Inserts the node's sequence starting from specified position in the list of child nodes for this node.
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
SystemObject
  Aspose.NoteNode
    Aspose.NoteCompositeNodeBase
      Aspose.NoteCompositeNodeT
        Aspose.NoteDocument
        Aspose.NoteOutline
        Aspose.NoteOutlineElement
        Aspose.NoteOutlineGroup
        Aspose.NotePage
        Aspose.NoteTable
        Aspose.NoteTableCell
        Aspose.NoteTableRow
        Aspose.NoteTitle