public class StructuredDocumentTagRangeEnd extends Node
StructuredDocumentTagRangeStart node.
To learn more, visit the Structured Document Tags or Content Control documentation article.
Can be immediate child ofBody node only.| Constructor and Description |
|---|
StructuredDocumentTagRangeEnd(DocumentBase doc,
int id)
Initializes a new instance of the Structured document tag range end class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(DocumentVisitor visitor)
Accepts a visitor.
|
int |
getId()
Specifies a unique read-only persistent numerical Id for this StructuredDocumentTagRange node.
|
int |
getNodeType()
Gets the type of this node.
|
dd, deepClone, getAncestor, getAncestor, getCustomNodeId, getDocument, getNextSibling, getParentNode, getPreviousSibling, getRange, getText, isComposite, memberwiseClone, nextPreOrder, nodeTypeToString, previousPreOrder, remove, setCustomNodeId, toString, toString, toString, visitorActionToBoolpublic StructuredDocumentTagRangeEnd(DocumentBase doc, int id)
doc - The owner document.id - Identifier of the corresponding structured document tag range start.public int getNodeType()
NodegetNodeType in class NodeNodeType constants.public boolean accept(DocumentVisitor visitor) throws java.lang.Exception
NodeEnumerates over this node and all of its children. Each node calls a corresponding method on DocumentVisitor.
For more info see the Visitor design pattern.
public int getId()
StructuredDocumentTagRangeStart node has the same StructuredDocumentTagRangeStart.getId().int value.