## Uses of Class
org.eclipse.lemminx.dom.DOMNode

Packages that use DOMNode
com.thaiopensource.relaxng.pattern
org.eclipse.lemminx.dom
org.eclipse.lemminx.extensions.contentmodel.model
org.eclipse.lemminx.extensions.contentmodel.utils
org.eclipse.lemminx.extensions.dtd.contentmodel
org.eclipse.lemminx.extensions.dtd.participants
org.eclipse.lemminx.extensions.references.participants
org.eclipse.lemminx.extensions.references.search
org.eclipse.lemminx.extensions.relaxng.grammar.rng
org.eclipse.lemminx.extensions.relaxng.utils
org.eclipse.lemminx.extensions.xinclude
org.eclipse.lemminx.extensions.xsd.contentmodel
org.eclipse.lemminx.extensions.xsd.participants
org.eclipse.lemminx.extensions.xsd.utils
org.eclipse.lemminx.services.extensions
org.eclipse.lemminx.services.extensions.completion
org.eclipse.lemminx.services.format
org.eclipse.lemminx.settings
org.eclipse.lemminx.utils

### Uses of DOMNode in com.thaiopensource.relaxng.pattern

Methods in com.thaiopensource.relaxng.pattern with parameters of type DOMNode
`org.eclipse.lsp4j.LocationLink` CMRelaxNGDocument.`findTypeLocation​(DOMNode originNode)`

### Uses of DOMNode in org.eclipse.lemminx.dom

Subclasses of DOMNode in org.eclipse.lemminx.dom
`class` `DOMAttr` An attribute node.
`class` `DOMCDATASection` A CData section node.
`class` `DOMCharacterData` A CharacterData node.
`class` `DOMComment` A Comment node.
`class` `DOMDocument` XML document.
`class` `DOMDocumentType` A doctype node.
`class` `DOMElement` An Element node.
`class` `DOMProcessingInstruction` A processing instruction node.
`class` `DOMText` A Text node.
`class` `DTDAttlistDecl` DTD Attribute List declaration
`class` `DTDDeclNode` DTDNode
`class` `DTDElementDecl` DTD Element Declaration
`class` `DTDEntityDecl` DOM Entity declaration
`class` `DTDNotationDecl` DTDNotationDecl

Methods in org.eclipse.lemminx.dom that return DOMNode
`DOMNode` DOMDocument.`adoptNode​(Node source)`
`DOMNode` DOMNode.`findNodeAt​(int offset)`
`DOMNode` DOMNode.`findNodeBefore​(int offset)` Returns the node before
`static DOMNode` DOMNode.`findNodeOrAttrAt​(DOMDocument document, int offset)`
`DOMNode` DOMNode.`getChild​(int index)` Returns node child at the given index.
`DOMNode` DOMNode.`getFirstChild()`
`DOMNode` DOMNode.`getLastChild()`
`DOMNode` DOMAttr.`getNextSibling()`
`DOMNode` DOMNode.`getNextSibling()`
`DOMNode` DOMNode.`getParentNode()`
`DOMNode` DOMNode.`getPreviousNonTextSibling()`
`DOMNode` DOMNode.`getPreviousSibling()`
`DOMNode` DOMDocument.`getProlog()` If document has `<?xml ... ?>`, return this prolog, null otherwise
`DOMNode` DOMDocument.`importNode​(Node importedNode, boolean deep)`
`DOMNode` DOMDocument.`renameNode​(Node n, String namespaceURI, String qualifiedName)`

Methods in org.eclipse.lemminx.dom that return types with arguments of type DOMNode
`Collection<DOMNode>` DOMDocument.`findDTDAttrList​(String elementName)` Returns the DTD Attribute list for the given element name and empty otherwise.
`List<DOMNode>` DOMNode.`getChildren()` Returns the node children.
`List<DOMNode>` DOMNode.`getChildrenWithAttributeValue​(String name, String value)` Returns a list of children, each having an attribute called name, with a value of value
`List<DOMNode>` DOMDocument.`getRoots()`

Methods in org.eclipse.lemminx.dom with parameters of type DOMNode
`void` DOMNode.`addChild​(DOMNode child)` Add node child and set child.parent to `this`
`static DOMAttr` DOMNode.`findAttrAt​(DOMNode node, int offset)`
`static DTDDeclParameter` DOMNode.`findDTDDeclParameterAt​(DOMNode node, int offset)`
`static DOMText` DOMNode.`findTextAt​(DOMNode node, int offset)`
`static boolean` XMLModel.`isXMLModel​(DOMNode node)` Returns true if the given node is a xml-model processing instruction and false otherwise.

Constructors in org.eclipse.lemminx.dom with parameters of type DOMNode
`DOMAttr​(String name, int start, int end, DOMNode ownerElement)`
`DOMAttr​(String name, DOMNode ownerElement)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.contentmodel.model

Methods in org.eclipse.lemminx.extensions.contentmodel.model with parameters of type DOMNode
`org.eclipse.lsp4j.LocationLink` CMDocument.`findTypeLocation​(DOMNode node)` Returns the location of the type definition of the given node.

### Uses of DOMNode in org.eclipse.lemminx.extensions.contentmodel.utils

Constructors in org.eclipse.lemminx.extensions.contentmodel.utils with parameters of type DOMNode
`XMLGenerator​(SharedSettings sharedSettings, boolean autoCloseTags, String whitespacesIndent, String lineDelimiter, boolean canSupportSnippets, int maxLevel, DOMNode node)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.dtd.contentmodel

Methods in org.eclipse.lemminx.extensions.dtd.contentmodel with parameters of type DOMNode
`org.eclipse.lsp4j.LocationLink` CMDTDDocument.`findTypeLocation​(DOMNode node)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.dtd.participants

Methods in org.eclipse.lemminx.extensions.dtd.participants with parameters of type DOMNode
`void` DTDHighlightingParticipant.`findDocumentHighlights​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`protected void` DTDReferenceParticipant.`findReferences​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.references.participants

Methods in org.eclipse.lemminx.extensions.references.participants with parameters of type DOMNode
`void` XMLReferencesHighlightingParticipant.`findDocumentHighlights​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`protected void` XMLReferencesReferenceParticipant.`findReferences​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.references.search

Methods in org.eclipse.lemminx.extensions.references.search that return DOMNode
`DOMNode` SearchNode.`getNode()`
`DOMNode` SearchQuery.`getNode()`

Methods in org.eclipse.lemminx.extensions.references.search with parameters of type DOMNode
`static SearchQuery` SearchQueryFactory.`createFromQuery​(DOMNode node, int offset, XMLReferencesSettings settings)`
`static SearchQuery` SearchQueryFactory.`createQuery​(DOMNode node, int offset, XMLReferencesSettings settings)`
`static SearchQuery` SearchQueryFactory.`createQuery​(DOMNode node, int offset, XMLReferencesSettings settings, SearchQuery.QueryDirection direction)`
`static SearchQuery` SearchQueryFactory.`createQuery​(DOMNode node, XMLReferencesSettings settings, SearchQuery.QueryDirection direction)`
`static SearchQuery` SearchQueryFactory.`createToQuery​(DOMNode node, int offset, XMLReferencesSettings settings)`
`static SearchQuery` SearchQueryFactory.`createToQueryByRetrievingToBefore​(DOMNode node, int offset, XMLReferencesSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`static List<SearchNode>` SearchNodeFactory.`findSearchNodes​(DOMNode node, String prefix, boolean multiple, SearchNode.Direction direction)` Returns all search node of the given DOM `node`.
`static SearchNode.Direction` SearchQueryFactory.`getDirection​(DOMNode node, XMLReferenceExpression expression, SearchQuery.QueryDirection queryDirection)` Returns the direction of the given node according the given expression and query direction.
`static SearchNode.Direction` SearchQueryFactory.`getInversedDirection​(DOMNode node, XMLReferenceExpression expression, SearchQuery.QueryDirection direction)` Returns the inversed direction of the given node according the given expression and query direction.
`static SearchNode` SearchNodeFactory.`getSearchNodeAt​(DOMNode node, int offset, String prefix, boolean multiple, SearchNode.Direction direction)` Returns the search node in the given DOM `node` at the given `offset` and null otherwise.

Constructors in org.eclipse.lemminx.extensions.references.search with parameters of type DOMNode
`SearchNode​(int start, int end, DOMNode node, String prefix, SearchNode.Direction direction)`
`SearchQuery​(DOMNode node, int offset, List<XMLReferenceExpression> expressions, SearchQuery.QueryDirection direction)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.relaxng.grammar.rng

Methods in org.eclipse.lemminx.extensions.relaxng.grammar.rng with parameters of type DOMNode
`void` RNGHighlightingParticipant.`findDocumentHighlights​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`void` RNGDocumentLinkParticipant.`findDocumentLinks​(DOMNode parent, DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links)`
`protected void` RNGReferenceParticipant.`findReferences​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.relaxng.utils

Methods in org.eclipse.lemminx.extensions.relaxng.utils with parameters of type DOMNode
`static void` RelaxNGUtils.`searchRNGOriginAttributes​(DOMNode targetNode, BiConsumer<DOMAttr,​DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)` Search origin attributes from the given target node..

### Uses of DOMNode in org.eclipse.lemminx.extensions.xinclude

Methods in org.eclipse.lemminx.extensions.xinclude with parameters of type DOMNode
`void` XIncludeDocumentLinkParticipant.`findDocumentLinks​(DOMNode parent, DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.xsd.contentmodel

Methods in org.eclipse.lemminx.extensions.xsd.contentmodel with parameters of type DOMNode
`org.eclipse.lsp4j.LocationLink` CMXSDDocument.`findTypeLocation​(DOMNode originNode)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.xsd.participants

Methods in org.eclipse.lemminx.extensions.xsd.participants with parameters of type DOMNode
`void` XSDHighlightingParticipant.`findDocumentHighlights​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`protected void` XSDReferenceParticipant.`findReferences​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`

### Uses of DOMNode in org.eclipse.lemminx.extensions.xsd.utils

Methods in org.eclipse.lemminx.extensions.xsd.utils with parameters of type DOMNode
`static void` XSDUtils.`searchXSOriginAttributes​(DOMNode targetNode, BiConsumer<DOMAttr,​DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)` Search origin attributes from the given target node..

### Uses of DOMNode in org.eclipse.lemminx.services.extensions

Methods in org.eclipse.lemminx.services.extensions that return DOMNode
`DOMNode` IPositionRequest.`getNode()` Returns the node where completion was triggered.

Methods in org.eclipse.lemminx.services.extensions with parameters of type DOMNode
`void` IHighlightingParticipant.`findDocumentHighlights​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, List<org.eclipse.lsp4j.DocumentHighlight> highlights, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`protected abstract void` AbstractReferenceParticipant.`findReferences​(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)` Find the references

### Uses of DOMNode in org.eclipse.lemminx.services.extensions.completion

Methods in org.eclipse.lemminx.services.extensions.completion with parameters of type DOMNode
`protected void` AbstractAttributeCompletionResolver.`resolveCompletionItem​(DOMNode node, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`protected abstract void` AbstractCompletionResolver.`resolveCompletionItem​(DOMNode node, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)` Resolve the given completion item `toResolve` by using the given DOM node.
`protected void` ElementEndTagCompletionResolver.`resolveCompletionItem​(DOMNode node, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`static void` AbstractElementCompletionItem.`updateEndTagName​(DOMNode node, int offset, ISharedSettingsRequest request, String tagName, org.eclipse.lsp4j.CompletionItem completionItem)`

### Uses of DOMNode in org.eclipse.lemminx.services.format

Methods in org.eclipse.lemminx.services.format with parameters of type DOMNode
`void` XMLFormatterDocument.`format​(DOMNode child, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits)`
`void` XMLFormatterDocument.`formatChildren​(DOMNode currentDOMNode, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits)`

### Uses of DOMNode in org.eclipse.lemminx.settings

Methods in org.eclipse.lemminx.settings with parameters of type DOMNode
`boolean` XMLSymbolFilter.`isNodeSymbol​(DOMNode node)` Returns true if the given node is a symbol and false otherwise.

### Uses of DOMNode in org.eclipse.lemminx.utils

Methods in org.eclipse.lemminx.utils with parameters of type DOMNode
`static boolean` DOMUtils.`isDOMElement​(DOMNode node, String tagName)`
`static org.eclipse.lsp4j.Range` XMLPositionUtility.`selectStartTagLocalName​(DOMNode element)` Returns the range of a tag's local name.
`static org.eclipse.lsp4j.Range` XMLPositionUtility.`selectStartTagName​(DOMNode element)` Returns the range of the start tag name (excludes the '<') of the given `element` and null otherwise.