| Modifier and Type | Class and Description |
|---|---|
class |
CMRelaxNGElementDeclaration
RelaxNG content element implementation.
|
| Modifier and Type | Method and Description |
|---|---|
CMElementDeclaration |
CMRelaxNGDocument.findCMElement(DOMElement element,
String namespace) |
CMElementDeclaration |
CMRelaxNGElementDeclaration.findCMElement(String tag,
String namespace) |
CMElementDeclaration |
CMRelaxNGAttributeDeclaration.getOwnerElementDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
Collection<CMElementDeclaration> |
CMRelaxNGElementDeclarationCollector.getElements() |
Collection<CMElementDeclaration> |
CMRelaxNGElementDeclaration.getElements() |
Collection<CMElementDeclaration> |
CMRelaxNGDocument.getElements() |
Collection<CMElementDeclaration> |
CMRelaxNGElementDeclaration.getPossibleElements(DOMElement parentElement,
int offset) |
Collection<CMElementDeclaration> |
CMRelaxNGElementDeclaration.getPossibleRequiredElements() |
Set<CMElementDeclaration> |
CMRelaxNGElementDeclaration.getRequiredElements() |
| Modifier and Type | Field and Description |
|---|---|
static Collection<CMElementDeclaration> |
CMElementDeclaration.ANY_ELEMENT_DECLARATIONS |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CMElementDeclaration> |
CMElementDeclaration.getElements()
Returns the children declared element of this declared element.
|
Collection<CMElementDeclaration> |
CMDocument.getElements()
Returns the elements declaration of the model document root.
|
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.
|
| Constructor and Description |
|---|
ContentModelElementCompletionItem(String tagName,
CMElementDeclaration elementDeclaration,
XMLGenerator generator,
ICompletionRequest request) |
| Modifier and Type | Method and Description |
|---|---|
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(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(CMElementDeclaration cmElement,
ISharedSettingsRequest support)
Returns a markup content for element 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.
|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CMDTDElementDeclaration
DTD element declaration.
|
| Modifier and Type | Method and Description |
|---|---|
CMElementDeclaration |
CMDTDDocument.findCMElement(DOMElement element,
String namespace) |
CMElementDeclaration |
CMDTDElementDeclaration.findCMElement(String tag,
String namespace) |
CMElementDeclaration |
CMDTDAttributeDeclaration.getOwnerElementDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
Collection<CMElementDeclaration> |
CMDTDElementDeclaration.getElements() |
Collection<CMElementDeclaration> |
CMDTDDocument.getElements() |
Collection<CMElementDeclaration> |
CMDTDElementDeclaration.getPossibleElements(DOMElement parentElement,
int offset) |
Set<CMElementDeclaration> |
CMDTDElementDeclaration.getRequiredElements() |
| Modifier and Type | Class and Description |
|---|---|
class |
CMXSDElementDeclaration
XSD element declaration implementation.
|
| Modifier and Type | Method and Description |
|---|---|
CMElementDeclaration |
CMXSDDocument.findCMElement(DOMElement element,
String namespace) |
CMElementDeclaration |
CMXSDElementDeclaration.findCMElement(String tag,
String namespace) |
CMElementDeclaration |
CMXSDAttributeDeclaration.getOwnerElementDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
Collection<CMElementDeclaration> |
CMXSDElementDeclaration.getElements() |
Collection<CMElementDeclaration> |
CMXSDDocument.getElements() |
Collection<CMElementDeclaration> |
CMXSDElementDeclaration.getPossibleElements(DOMElement parentElement,
int offset) |
Set<CMElementDeclaration> |
CMXSDElementDeclaration.getRequiredElements() |
Copyright © 2024. All rights reserved.