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

Packages that use DOMElement
com.thaiopensource.relaxng.pattern
org.eclipse.lemminx.dom
org.eclipse.lemminx.extensions.catalog
org.eclipse.lemminx.extensions.contentmodel.model
org.eclipse.lemminx.extensions.contentmodel.participants
org.eclipse.lemminx.extensions.contentmodel.participants.completion
org.eclipse.lemminx.extensions.contentmodel.utils
org.eclipse.lemminx.extensions.dtd.contentmodel
org.eclipse.lemminx.extensions.relaxng.utils
org.eclipse.lemminx.extensions.xinclude
org.eclipse.lemminx.extensions.xsd.contentmodel
org.eclipse.lemminx.extensions.xsd.utils
org.eclipse.lemminx.services.extensions
org.eclipse.lemminx.services.extensions.completion
org.eclipse.lemminx.services.extensions.format
org.eclipse.lemminx.services.format
org.eclipse.lemminx.settings
org.eclipse.lemminx.utils

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

Methods in com.thaiopensource.relaxng.pattern that return DOMElement
`DOMElement` CMRelaxNGElementDeclaration.`getDOMElement()`

Methods in com.thaiopensource.relaxng.pattern with parameters of type DOMElement
`CMElementDeclaration` CMRelaxNGDocument.`findCMElement​(DOMElement element, String namespace)`
`Collection<CMElementDeclaration>` CMRelaxNGElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)`

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

Methods in org.eclipse.lemminx.dom that return DOMElement
`DOMElement` DOMDocument.`createElement​(int start, int end)`
`DOMElement` DOMDocument.`createElement​(String tagName)`
`DOMElement` DOMDocument.`createElementNS​(String namespaceURI, String qualifiedName)`
`DOMElement` DOMDocument.`getDocumentElement()`
`DOMElement` DOMDocument.`getElementById​(String elementId)`
`DOMElement` DOMElement.`getOrphanEndElement​(int offset, String tagName, boolean anyOrphan)`
`DOMElement` DOMNode.`getOrphanEndElement​(int offset, String tagName)` Returns the orphan end element after the given offset which matches the given tagName and null otherwise.
`DOMElement` DOMNode.`getOrphanEndElement​(int offset, String tagName, boolean anyOrphan)` Returns the orphan end element after the given offset which matches the given tagName and the first orphan end element otherwise and null otherwise.
`DOMElement` DOMAttr.`getOwnerElement()`
`DOMElement` DOMNode.`getParentElement()`

### Uses of DOMElement in org.eclipse.lemminx.extensions.catalog

Methods in org.eclipse.lemminx.extensions.catalog that return DOMElement
`protected DOMElement` CatalogEntry.`getEntryElement()` Returns the element that corresponds with this catalog entry

Methods in org.eclipse.lemminx.extensions.catalog with parameters of type DOMElement
`static DOMAttr` CatalogUtils.`getCatalogEntryCatalog​(DOMElement element)` Returns the catalog attribute node of the given catalog entry or null if there is no catalog attribute
`static DOMAttr` CatalogUtils.`getCatalogEntryURI​(DOMElement element)` Returns the uri attribute node of the given catalog entry or null if there is no uri attribute

Constructors in org.eclipse.lemminx.extensions.catalog with parameters of type DOMElement
`CatalogCatalogEntry​(String baseURI, DOMElement entryElement)`
`CatalogEntry​(String baseURI, DOMElement entryElement)`
`URICatalogEntry​(String baseURI, DOMElement entryElement)`

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

Methods in org.eclipse.lemminx.extensions.contentmodel.model with parameters of type DOMElement
`Collection<CMDocument>` ContentModelManager.`findCMDocument​(DOMElement element)` Returns the owner document of the declared element which matches the given XML element and null otherwise.
`Collection<CMDocument>` ContentModelManager.`findCMDocument​(DOMElement element, String namespaceURI)` Returns the owner document of the declared element which matches the given XML element and null otherwise.
`default CMElementDeclaration` CMDocument.`findCMElement​(DOMElement element)` Returns the declared element which matches the given XML element and null otherwise.
`CMElementDeclaration` CMDocument.`findCMElement​(DOMElement element, String namespace)` Returns the declared element which matches the given XML element and null otherwise.
`Collection<CMElementDeclaration>` CMElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)` Returns the possible declared elements at the given offset of the given parent element.

### Uses of DOMElement in org.eclipse.lemminx.extensions.contentmodel.participants

Methods in org.eclipse.lemminx.extensions.contentmodel.participants with parameters of type DOMElement
`FormatElementCategory` ContentModelFormatterParticipant.`getFormatElementCategory​(DOMElement element, XMLFormattingConstraints parentConstraints, Map<String,​Collection<CMDocument>> formattingContext, SharedSettings sharedSettings)`
`boolean` ContentModelFormatterParticipant.`shouldCollapseEmptyElement​(DOMElement element, SharedSettings sharedSettings)`

### Uses of DOMElement in org.eclipse.lemminx.extensions.contentmodel.participants.completion

Methods in org.eclipse.lemminx.extensions.contentmodel.participants.completion with parameters of type DOMElement
`protected void` AttributeNameCompletionResolver.`resolveCompletionItem​(DOMElement element, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`
`protected void` AttributeValueCompletionResolver.`resolveCompletionItem​(DOMElement element, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)`

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

Methods in org.eclipse.lemminx.extensions.contentmodel.utils with parameters of type DOMElement
`String` XMLGenerator.`generateMissingElements​(ContentModelManager contentModelManager, DOMElement element, boolean generateOnlyRequired)`

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

Methods in org.eclipse.lemminx.extensions.dtd.contentmodel with parameters of type DOMElement
`CMElementDeclaration` CMDTDDocument.`findCMElement​(DOMElement element, String namespace)`
`Collection<CMElementDeclaration>` CMDTDElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)`

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

Methods in org.eclipse.lemminx.extensions.relaxng.utils with parameters of type DOMElement
`static DOMAttr` RelaxNGUtils.`getHref​(DOMElement element)`

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

Methods in org.eclipse.lemminx.extensions.xinclude with parameters of type DOMElement
`static DOMAttr` XIncludeUtils.`getHref​(DOMElement element)`
`static boolean` XIncludeUtils.`isInclude​(DOMElement element)`

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

Methods in org.eclipse.lemminx.extensions.xsd.contentmodel with parameters of type DOMElement
`CMElementDeclaration` CMXSDDocument.`findCMElement​(DOMElement element, String namespace)`
`Collection<CMElementDeclaration>` CMXSDElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)`

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

Methods in org.eclipse.lemminx.extensions.xsd.utils with parameters of type DOMElement
`static DOMAttr` XSDUtils.`getSchemaLocation​(DOMElement element)`
`static boolean` XSDUtils.`isXSAttribute​(DOMElement element)`

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

Methods in org.eclipse.lemminx.services.extensions that return DOMElement
`DOMElement` IPositionRequest.`getParentElement()` Returns the parent element of the node where completion was triggered and null otherwise.

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

Methods in org.eclipse.lemminx.services.extensions.completion with parameters of type DOMElement
`protected static boolean` AbstractElementCompletionItem.`hasContentAfterTagName​(DOMElement element)`
`static boolean` AbstractElementCompletionItem.`isElementClosed​(DOMElement element)`
`protected abstract void` AbstractAttributeCompletionResolver.`resolveCompletionItem​(DOMElement element, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)` Resolve the completion item from the content model to the given completion request.

Constructors in org.eclipse.lemminx.services.extensions.completion with parameters of type DOMElement
`DOMElementCompletionItem​(DOMElement element, ICompletionRequest request)`

### Uses of DOMElement in org.eclipse.lemminx.services.extensions.format

Methods in org.eclipse.lemminx.services.extensions.format with parameters of type DOMElement
`default FormatElementCategory` IFormatterParticipant.`getFormatElementCategory​(DOMElement element, XMLFormattingConstraints parentConstraints, Map<String,​Collection<CMDocument>> formattingContext, SharedSettings sharedSettings)` Returns the format element category for the given DOM element and null otherwise.
`default boolean` IFormatterParticipant.`shouldCollapseEmptyElement​(DOMElement element, SharedSettings sharedSettings)` Returns true if the given element can be collapsed according to grammar constraints.

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

Methods in org.eclipse.lemminx.services.format with parameters of type DOMElement
`void` DOMElementFormatter.`formatElement​(DOMElement element, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits)`
`FormatElementCategory` XMLFormatterDocument.`getFormatElementCategory​(DOMElement element, XMLFormattingConstraints parentConstraints)` Returns the format element category of the given DOM element.
`boolean` XMLFormatterDocument.`shouldCollapseEmptyElement​(DOMElement element, SharedSettings sharedSettings)`

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

Methods in org.eclipse.lemminx.settings with parameters of type DOMElement
`FormatElementCategory` XMLFormattingOptions.`getFormatElementCategory​(DOMElement element)`

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

Methods in org.eclipse.lemminx.utils that return DOMElement
`static DOMElement` DOMUtils.`findFirstChildElementByTagName​(DOMElement element, String tagName)`

Methods in org.eclipse.lemminx.utils with parameters of type DOMElement
`static boolean` DOMUtils.`containsTextOnly​(DOMElement element)` Returns true if element contains only DOMText and false otherwise.
`static DOMElement` DOMUtils.`findFirstChildElementByTagName​(DOMElement element, String tagName)`
`static org.eclipse.lsp4j.Range` XMLPositionUtility.`selectEndTagLocalName​(DOMElement element)` Returns the range of the end tag of the given LOCAL `element` name and null otherwise.
`static org.eclipse.lsp4j.Range` XMLPositionUtility.`selectEndTagName​(DOMElement element)` Returns the range of the end tag of the given `element` name and null otherwise.
`static org.eclipse.lsp4j.Range` XMLPositionUtility.`selectEndTagName​(DOMElement element, boolean localNameOnly)` Returns the range of the end tag of the given `element` and null otherwise.