## Uses of Interface
org.eclipse.lemminx.extensions.contentmodel.model.CMElementDeclaration

Packages that use CMElementDeclaration
com.thaiopensource.relaxng.pattern
org.eclipse.lemminx.extensions.contentmodel.model
org.eclipse.lemminx.extensions.contentmodel.participants.completion
org.eclipse.lemminx.extensions.contentmodel.utils
org.eclipse.lemminx.extensions.dtd.contentmodel
org.eclipse.lemminx.extensions.xsd.contentmodel

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

Classes in com.thaiopensource.relaxng.pattern that implement CMElementDeclaration
`class` `CMRelaxNGElementDeclaration` RelaxNG content element implementation.

Methods in com.thaiopensource.relaxng.pattern that return CMElementDeclaration
`CMElementDeclaration` CMRelaxNGDocument.`findCMElement​(DOMElement element, String namespace)`
`CMElementDeclaration` CMRelaxNGElementDeclaration.`findCMElement​(String tag, String namespace)`
`CMElementDeclaration` CMRelaxNGAttributeDeclaration.`getOwnerElementDeclaration()`

Methods in com.thaiopensource.relaxng.pattern that return types with arguments of type CMElementDeclaration
`Collection<CMElementDeclaration>` CMRelaxNGDocument.`getElements()`
`Collection<CMElementDeclaration>` CMRelaxNGElementDeclaration.`getElements()`
`Collection<CMElementDeclaration>` CMRelaxNGElementDeclarationCollector.`getElements()`
`Collection<CMElementDeclaration>` CMRelaxNGElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)`
`Collection<CMElementDeclaration>` CMRelaxNGElementDeclaration.`getPossibleRequiredElements()`
`Set<CMElementDeclaration>` CMRelaxNGElementDeclaration.`getRequiredElements()`

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

Fields in org.eclipse.lemminx.extensions.contentmodel.model with type parameters of type CMElementDeclaration
`static Collection<CMElementDeclaration>` CMElementDeclaration.`ANY_ELEMENT_DECLARATIONS`

Methods in org.eclipse.lemminx.extensions.contentmodel.model that return CMElementDeclaration
`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.
`CMElementDeclaration` CMElementDeclaration.`findCMElement​(String tag, String namespace)` Returns the declared element which matches the given XML tag name / namespace and null otherwise.
`CMElementDeclaration` CMAttributeDeclaration.`getOwnerElementDeclaration()` Returns the owner element declaration.

Methods in org.eclipse.lemminx.extensions.contentmodel.model that return types with arguments of type CMElementDeclaration
`Collection<CMElementDeclaration>` CMDocument.`getElements()` Returns the elements declaration of the model document root.
`Collection<CMElementDeclaration>` CMElementDeclaration.`getElements()` Returns the children declared element of this declared element.
`Collection<CMElementDeclaration>` CMElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)` Returns the possible declared elements at the given offset of the given parent element.
`Collection<CMElementDeclaration>` CMElementDeclaration.`getRequiredElements()` Returns a list of required/non-optional child elements of the current element.

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

Constructors in org.eclipse.lemminx.extensions.contentmodel.participants.completion with parameters of type CMElementDeclaration
`ContentModelElementCompletionItem​(String tagName, CMElementDeclaration elementDeclaration, XMLGenerator generator, ICompletionRequest request)`

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

Methods in org.eclipse.lemminx.extensions.contentmodel.utils with parameters of type CMElementDeclaration
`static org.eclipse.lsp4j.MarkupContent` XMLGenerator.`createMarkupContent​(CMAttributeDeclaration cmAttribute, String attributeValue, CMElementDeclaration ownerElement, ISharedSettingsRequest support)` Returns a markup content for attribute value documentation and null otherwise.
`static org.eclipse.lsp4j.MarkupContent` XMLGenerator.`createMarkupContent​(CMAttributeDeclaration cmAttribute, CMElementDeclaration ownerElement, ISharedSettingsRequest request)` Returns a markup content for attribute name documentation and null otherwise.
`static org.eclipse.lsp4j.MarkupContent` XMLGenerator.`createMarkupContent​(CMElementDeclaration cmElement, String textContent, ISharedSettingsRequest support)` Returns a markup content for element text documentation and null otherwise.
`static org.eclipse.lsp4j.MarkupContent` XMLGenerator.`createMarkupContent​(CMElementDeclaration cmElement, ISharedSettingsRequest support)` Returns a markup content for element documentation and null otherwise.
`String` XMLGenerator.`generate​(CMElementDeclaration elementDeclaration, String prefix, boolean generateEndTag)` Returns the XML generated from the given element declaration.
`String` XMLGenerator.`generate​(CMElementDeclaration elementDeclaration, String prefix, boolean generateEndTag, boolean generateOnlyChildren, int level, boolean generateOnlyRequired)` Returns the XML generated from the given element declaration given option to generate only children and only required elements.

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

Classes in org.eclipse.lemminx.extensions.dtd.contentmodel that implement CMElementDeclaration
`class` `CMDTDElementDeclaration` DTD element declaration.

Methods in org.eclipse.lemminx.extensions.dtd.contentmodel that return CMElementDeclaration
`CMElementDeclaration` CMDTDDocument.`findCMElement​(DOMElement element, String namespace)`
`CMElementDeclaration` CMDTDElementDeclaration.`findCMElement​(String tag, String namespace)`
`CMElementDeclaration` CMDTDAttributeDeclaration.`getOwnerElementDeclaration()`

Methods in org.eclipse.lemminx.extensions.dtd.contentmodel that return types with arguments of type CMElementDeclaration
`Collection<CMElementDeclaration>` CMDTDDocument.`getElements()`
`Collection<CMElementDeclaration>` CMDTDElementDeclaration.`getElements()`
`Collection<CMElementDeclaration>` CMDTDElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)`
`Set<CMElementDeclaration>` CMDTDElementDeclaration.`getRequiredElements()`

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

Classes in org.eclipse.lemminx.extensions.xsd.contentmodel that implement CMElementDeclaration
`class` `CMXSDElementDeclaration` XSD element declaration implementation.

Methods in org.eclipse.lemminx.extensions.xsd.contentmodel that return CMElementDeclaration
`CMElementDeclaration` CMXSDDocument.`findCMElement​(DOMElement element, String namespace)`
`CMElementDeclaration` CMXSDElementDeclaration.`findCMElement​(String tag, String namespace)`
`CMElementDeclaration` CMXSDAttributeDeclaration.`getOwnerElementDeclaration()`

Methods in org.eclipse.lemminx.extensions.xsd.contentmodel that return types with arguments of type CMElementDeclaration
`Collection<CMElementDeclaration>` CMXSDDocument.`getElements()`
`Collection<CMElementDeclaration>` CMXSDElementDeclaration.`getElements()`
`Collection<CMElementDeclaration>` CMXSDElementDeclaration.`getPossibleElements​(DOMElement parentElement, int offset)`
`Set<CMElementDeclaration>` CMXSDElementDeclaration.`getRequiredElements()`