CompositeNode(T) Class

Aspose.Note for .NET API

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.1
Syntax
public abstract class CompositeNode<T> : CompositeNodeBase, 
	IEnumerable<T>, IEnumerable
where T : INode
Public MustInherit Class CompositeNode(Of T As INode)
	Inherits CompositeNodeBase
	Implements IEnumerable(Of T), IEnumerable
generic<typename T>
where T : INode
public ref class CompositeNode abstract : public CompositeNodeBase, 
	IEnumerable<T>, IEnumerable
[<AbstractClassAttribute>]
type CompositeNode<'T when 'T : INode> =  
    class
        inherit CompositeNodeBase
        interface IEnumerable<'T>
        interface IEnumerable
    end

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.
Top
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.)
Top
Methods
  NameDescription
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.)
Top
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