Modifier and Type | Method and Description |
---|---|
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 |
DOMNode.getOrphanEndElement(int offset,
String tagName) |
DOMElement |
DOMElement.getOrphanEndElement(int offset,
String tagName) |
DOMElement |
DOMAttr.getOwnerElement() |
DOMElement |
DOMNode.getParentElement() |
Modifier and Type | Method and Description |
---|---|
protected DOMElement |
CatalogEntry.getEntryElement()
Returns the element that corresponds with this catalog entry
|
Modifier and Type | Method and Description |
---|---|
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
|
Constructor and Description |
---|
CatalogCatalogEntry(String baseURI,
DOMElement entryElement) |
CatalogEntry(String baseURI,
DOMElement entryElement) |
URICatalogEntry(String baseURI,
DOMElement entryElement) |
Modifier and Type | Method and Description |
---|---|
default CMAttributeDeclaration |
CMDocument.findCMAttribute(DOMElement element,
String attributeName) |
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.
|
Modifier and Type | Method and Description |
---|---|
CMElementDeclaration |
CMDTDDocument.findCMElement(DOMElement element,
String namespace) |
Collection<CMElementDeclaration> |
CMDTDElementDeclaration.getPossibleElements(DOMElement parentElement,
int offset) |
Modifier and Type | Method and Description |
---|---|
CMElementDeclaration |
CMXSDDocument.findCMElement(DOMElement element,
String namespace) |
Collection<CMElementDeclaration> |
CMXSDElementDeclaration.getPossibleElements(DOMElement parentElement,
int offset) |
Modifier and Type | Method and Description |
---|---|
static DOMAttr |
XSDUtils.getSchemaLocation(DOMElement element) |
static boolean |
XSDUtils.isXSAttribute(DOMElement element) |
Modifier and Type | Method and Description |
---|---|
DOMElement |
IPositionRequest.getParentElement()
Returns the parent element of the node where completion was triggered and
null otherwise.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DOMUtils.containsTextOnly(DOMElement element)
Returns true if element contains only DOMText and false otherwise.
|
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. |
Copyright © 2022. All rights reserved.