Rest
...contentArray: any[]Rest
...contentArray: any[]Private
_declarationGets the XDocument
object for this XObject
.
Gets this container's first XNode
or null
, if this container does not
have any nodes.
Gets this container's last XNode
or null
, if this container does not
have any nodes.
Gets the next sibling node of this node.
If this node does not have a parent, or if there is no next node, then this property returns null.
Gets the parent XElement
of this XObject
.
Gets the previous sibling node of this node.
If this property does not have a parent, or if there is no previous node, then this property returns null.
Adds the specified content as a child (or children) of this XContainer
.
A content object containing simple content or a collection of content objects to be added.
Returns the collection of the ancestor elements for this node.
The ancestor elements of this node.
Optional
name: null | XNameThe optional name of the ancestor elements to find.
Gets the descendant XElement
s of this XContainer
.
The descendant XElement
s of this XContainer
.
Optional
name: null | XNameThe optional name of the descendants to return.
Gets the child XElement
s of this XContainer
.
The child XElement
s of this XContainer
.
Optional
name: null | XNameThe optional name of the elements to return.
Returns the content of this XContainer
.
Note that the content does not include XAttribute
s.
The content of this XContainer
as an IterableOfXNode
.
Removes this XNode
from the underlying XML tree.
Removes the nodes from this XContainer
.
Note that this method does not remove the attributes.
Replaces the child nodes of this XContainer
with the specified content.
The content can be simple content, a collection of content objects, a param
list of content objects, or null.
Rest
...content: any[]The new content.
Replaces this node with the specified content.
Rest
...content: any[]Content that replaces this node.
Returns a string that represents the current object.
A string that represents the current object.
Static
loadStatic
parseStatic
Private
preprocessGenerated using TypeDoc
Represents an XML document.