Uses of Class
org.eclipse.lemminx.dom.DOMElement
-
-
Uses of DOMElement in com.thaiopensource.relaxng.pattern
Methods in com.thaiopensource.relaxng.pattern that return DOMElement Modifier and Type Method Description DOMElementCMRelaxNGElementDeclaration. getDOMElement()Methods in com.thaiopensource.relaxng.pattern with parameters of type DOMElement Modifier and Type Method Description CMElementDeclarationCMRelaxNGDocument. 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 Modifier and Type Method Description DOMElementDOMDocument. createElement(int start, int end)DOMElementDOMDocument. createElement(String tagName)DOMElementDOMDocument. createElementNS(String namespaceURI, String qualifiedName)DOMElementDOMDocument. getDocumentElement()DOMElementDOMDocument. getElementById(String elementId)DOMElementDOMElement. getOrphanEndElement(int offset, String tagName, boolean anyOrphan)DOMElementDOMNode. getOrphanEndElement(int offset, String tagName)Returns the orphan end element after the given offset which matches the given tagName and null otherwise.DOMElementDOMNode. 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.DOMElementDOMAttr. getOwnerElement()DOMElementDOMNode. getParentElement() -
Uses of DOMElement in org.eclipse.lemminx.extensions.catalog
Methods in org.eclipse.lemminx.extensions.catalog that return DOMElement Modifier and Type Method Description protected DOMElementCatalogEntry. getEntryElement()Returns the element that corresponds with this catalog entryMethods in org.eclipse.lemminx.extensions.catalog with parameters of type DOMElement Modifier and Type Method Description static DOMAttrCatalogUtils. getCatalogEntryCatalog(DOMElement element)Returns the catalog attribute node of the given catalog entry or null if there is no catalog attributestatic DOMAttrCatalogUtils. getCatalogEntryURI(DOMElement element)Returns the uri attribute node of the given catalog entry or null if there is no uri attributeConstructors in org.eclipse.lemminx.extensions.catalog with parameters of type DOMElement Constructor Description 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 Modifier and Type Method Description 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 CMElementDeclarationCMDocument. findCMElement(DOMElement element)Returns the declared element which matches the given XML element and null otherwise.CMElementDeclarationCMDocument. 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 Modifier and Type Method Description FormatElementCategoryContentModelFormatterParticipant. getFormatElementCategory(DOMElement element, XMLFormattingConstraints parentConstraints, Map<String,Collection<CMDocument>> formattingContext, SharedSettings sharedSettings)booleanContentModelFormatterParticipant. 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 Modifier and Type Method Description protected voidAttributeNameCompletionResolver. resolveCompletionItem(DOMElement element, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)protected voidAttributeValueCompletionResolver. 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 Modifier and Type Method Description StringXMLGenerator. 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 Modifier and Type Method Description CMElementDeclarationCMDTDDocument. 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 Modifier and Type Method Description static DOMAttrRelaxNGUtils. getHref(DOMElement element) -
Uses of DOMElement in org.eclipse.lemminx.extensions.xinclude
Methods in org.eclipse.lemminx.extensions.xinclude with parameters of type DOMElement Modifier and Type Method Description static DOMAttrXIncludeUtils. getHref(DOMElement element)static booleanXIncludeUtils. 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 Modifier and Type Method Description CMElementDeclarationCMXSDDocument. 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 Modifier and Type Method Description static DOMAttrXSDUtils. getSchemaLocation(DOMElement element)static booleanXSDUtils. isXSAttribute(DOMElement element) -
Uses of DOMElement in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that return DOMElement Modifier and Type Method Description DOMElementIPositionRequest. 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 Modifier and Type Method Description protected static booleanAbstractElementCompletionItem. hasContentAfterTagName(DOMElement element)static booleanAbstractElementCompletionItem. isElementClosed(DOMElement element)protected abstract voidAbstractAttributeCompletionResolver. 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 Constructor Description 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 Modifier and Type Method Description default FormatElementCategoryIFormatterParticipant. 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 booleanIFormatterParticipant. 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 Modifier and Type Method Description voidDOMElementFormatter. formatElement(DOMElement element, XMLFormattingConstraints parentConstraints, int start, int end, List<org.eclipse.lsp4j.TextEdit> edits)FormatElementCategoryXMLFormatterDocument. getFormatElementCategory(DOMElement element, XMLFormattingConstraints parentConstraints)Returns the format element category of the given DOM element.booleanXMLFormatterDocument. shouldCollapseEmptyElement(DOMElement element, SharedSettings sharedSettings) -
Uses of DOMElement in org.eclipse.lemminx.settings
Methods in org.eclipse.lemminx.settings with parameters of type DOMElement Modifier and Type Method Description FormatElementCategoryXMLFormattingOptions. getFormatElementCategory(DOMElement element) -
Uses of DOMElement in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils that return DOMElement Modifier and Type Method Description static DOMElementDOMUtils. findFirstChildElementByTagName(DOMElement element, String tagName)Methods in org.eclipse.lemminx.utils with parameters of type DOMElement Modifier and Type Method Description static booleanDOMUtils. containsTextOnly(DOMElement element)Returns true if element contains only DOMText and false otherwise.static DOMElementDOMUtils. findFirstChildElementByTagName(DOMElement element, String tagName)static org.eclipse.lsp4j.RangeXMLPositionUtility. selectEndTagLocalName(DOMElement element)Returns the range of the end tag of the given LOCALelementname and null otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility. selectEndTagName(DOMElement element)Returns the range of the end tag of the givenelementname and null otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility. selectEndTagName(DOMElement element, boolean localNameOnly)Returns the range of the end tag of the givenelementand null otherwise.
-