Uses of Class
org.eclipse.lemminx.dom.DOMAttr
-
-
Uses of DOMAttr in org.eclipse.lemminx.dom
Methods in org.eclipse.lemminx.dom that return DOMAttr Modifier and Type Method Description DOMAttrDOMDocument. createAttribute(String name)DOMAttrDOMDocument. createAttributeNS(String namespaceURI, String qualifiedName)DOMAttrDOMNode. findAttrAt(int offset)static DOMAttrDOMNode. findAttrAt(DOMNode node, int offset)DOMAttrNoNamespaceSchemaLocation. getAttr()DOMAttrSchemaLocation. getAttr()DOMAttrDOMNode. getAttributeAtIndex(int index)Returns the attribute at the given index, the order is how the attributes appear in the document.DOMAttrDOMElement. getAttributeNode(String name)DOMAttrDOMNode. getAttributeNode(String name)DOMAttrDOMNode. getAttributeNode(String prefix, String suffix)Returns the attribute that matches the given name.DOMAttrDOMElement. getAttributeNodeNS(String arg0, String arg1)DOMAttrDOMElement. removeAttributeNode(Attr arg0)DOMAttrDOMElement. setAttributeNode(Attr arg0)DOMAttrDOMElement. setAttributeNodeNS(Attr arg0)Methods in org.eclipse.lemminx.dom that return types with arguments of type DOMAttr Modifier and Type Method Description List<DOMAttr>DOMNode. getAttributeNodes()Methods in org.eclipse.lemminx.dom with parameters of type DOMAttr Modifier and Type Method Description voidDOMNode. setAttributeNode(DOMAttr attr)Constructors in org.eclipse.lemminx.dom with parameters of type DOMAttr Constructor Description NoNamespaceSchemaLocation(DOMAttr attr)SchemaLocation(DOMAttr attr) -
Uses of DOMAttr in org.eclipse.lemminx.extensions.catalog
Methods in org.eclipse.lemminx.extensions.catalog that return DOMAttr 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 attribute -
Uses of DOMAttr in org.eclipse.lemminx.extensions.contentmodel.model
Methods in org.eclipse.lemminx.extensions.contentmodel.model with parameters of type DOMAttr Modifier and Type Method Description default CMAttributeDeclarationCMDocument. findCMAttribute(DOMAttr attr)default CMAttributeDeclarationCMElementDeclaration. findCMAttribute(DOMAttr attr)Returns the declared attribute which match the given name and null otherwise. -
Uses of DOMAttr in org.eclipse.lemminx.extensions.relaxng.utils
Methods in org.eclipse.lemminx.extensions.relaxng.utils that return DOMAttr Modifier and Type Method Description static DOMAttrRelaxNGUtils. getHref(DOMElement element)Methods in org.eclipse.lemminx.extensions.relaxng.utils with parameters of type DOMAttr Modifier and Type Method Description static RelaxNGUtils.BindingTypeRelaxNGUtils. getBindingType(DOMAttr originAttr)Returns the binding type of the origin attribute (ex : ref/@name) which bounds an another target attribute (ex : define/@name).static voidRelaxNGUtils. searchRNGTargetAttributes(DOMAttr originAttr, RelaxNGUtils.BindingType bindingType, boolean matchAttr, boolean searchInExternalSchema, BiConsumer<String,DOMAttr> collector)Collect RNG target attributes declared in the RNG grammar according the given attribute and binding type.Method parameters in org.eclipse.lemminx.extensions.relaxng.utils with type arguments of type DOMAttr Modifier and Type Method Description static voidRelaxNGUtils. searchRNGOriginAttributes(DOMNode targetNode, BiConsumer<DOMAttr,DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Search origin attributes from the given target node..static voidRelaxNGUtils. searchRNGOriginAttributes(DOMNode targetNode, BiConsumer<DOMAttr,DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Search origin attributes from the given target node..static voidRelaxNGUtils. searchRNGTargetAttributes(DOMAttr originAttr, RelaxNGUtils.BindingType bindingType, boolean matchAttr, boolean searchInExternalSchema, BiConsumer<String,DOMAttr> collector)Collect RNG target attributes declared in the RNG grammar according the given attribute and binding type. -
Uses of DOMAttr in org.eclipse.lemminx.extensions.xinclude
Methods in org.eclipse.lemminx.extensions.xinclude that return DOMAttr Modifier and Type Method Description static DOMAttrXIncludeUtils. getHref(DOMElement element) -
Uses of DOMAttr in org.eclipse.lemminx.extensions.xsd
Methods in org.eclipse.lemminx.extensions.xsd with parameters of type DOMAttr Modifier and Type Method Description static StringDataType. getDocumentation(DOMAttr attr) -
Uses of DOMAttr in org.eclipse.lemminx.extensions.xsd.utils
Methods in org.eclipse.lemminx.extensions.xsd.utils that return DOMAttr Modifier and Type Method Description static DOMAttrXSDUtils. findSchemaLocationAttrByURI(DOMDocument document, String grammarURI)Returns the xsd:import/@schemaLocation or xsd:include/@schemaLocation declared in the givendocumentby the givengrammarURIand null otherwise.static DOMAttrXSDUtils. getSchemaLocation(DOMElement element)Methods in org.eclipse.lemminx.extensions.xsd.utils with parameters of type DOMAttr Modifier and Type Method Description static XSDUtils.BindingTypeXSDUtils. getBindingType(DOMAttr originAttr)Returns the binding type of the origin attribute which bounds an another target attribute.static voidXSDUtils. searchXSTargetAttributes(DOMAttr originAttr, XSDUtils.BindingType bindingType, boolean matchAttr, boolean searchInExternalSchema, BiConsumer<String,DOMAttr> collector)Collect XSD target attributes declared in the XML Schema according the given attribute and binding type.Method parameters in org.eclipse.lemminx.extensions.xsd.utils with type arguments of type DOMAttr Modifier and Type Method Description static voidXSDUtils. searchXSOriginAttributes(DOMNode targetNode, BiConsumer<DOMAttr,DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Search origin attributes from the given target node..static voidXSDUtils. searchXSOriginAttributes(DOMNode targetNode, BiConsumer<DOMAttr,DOMAttr> collector, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)Search origin attributes from the given target node..static voidXSDUtils. searchXSTargetAttributes(DOMAttr originAttr, XSDUtils.BindingType bindingType, boolean matchAttr, boolean searchInExternalSchema, BiConsumer<String,DOMAttr> collector)Collect XSD target attributes declared in the XML Schema according the given attribute and binding type. -
Uses of DOMAttr in org.eclipse.lemminx.extensions.xsi
Methods in org.eclipse.lemminx.extensions.xsi with parameters of type DOMAttr Modifier and Type Method Description static org.eclipse.lsp4j.HoverXSISchemaModel. computeHoverResponse(DOMAttr attribute, IHoverRequest request)static booleanXSISchemaModel. isXSISchemaLocationAttr(String name, DOMAttr attr) -
Uses of DOMAttr in org.eclipse.lemminx.extensions.xsi.participants
Methods in org.eclipse.lemminx.extensions.xsi.participants with parameters of type DOMAttr Modifier and Type Method Description booleanXSIFormatterParticipant. formatAttributeValue(String name, String valueWithoutQuote, Character quote, DOMAttr attr, XMLBuilder xml)booleanXSIFormatterParticipant. formatAttributeValue(DOMAttr attr, XMLFormatterDocument formatterDocument, XMLFormattingConstraints parentConstraints, XMLFormattingOptions formattingOptions, List<org.eclipse.lsp4j.TextEdit> edits) -
Uses of DOMAttr in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that return DOMAttr Modifier and Type Method Description DOMAttrIPositionRequest. getCurrentAttribute() -
Uses of DOMAttr in org.eclipse.lemminx.services.extensions.format
Methods in org.eclipse.lemminx.services.extensions.format with parameters of type DOMAttr Modifier and Type Method Description default booleanIFormatterParticipant. formatAttributeValue(String name, String valueWithoutQuote, Character quote, DOMAttr attr, XMLBuilder xml)Format the given attribute value.default booleanIFormatterParticipant. formatAttributeValue(DOMAttr attr, XMLFormatterDocument formatterDocument, XMLFormattingConstraints parentConstraints, XMLFormattingOptions formattingOptions, List<org.eclipse.lsp4j.TextEdit> edits)Format the given attribute value. -
Uses of DOMAttr in org.eclipse.lemminx.services.format
Methods in org.eclipse.lemminx.services.format with parameters of type DOMAttr Modifier and Type Method Description voidDOMAttributeFormatter. formatAttribute(DOMAttr attr, int prevOffset, boolean singleAttribute, boolean useSettings, boolean isFirstAttr, XMLFormattingConstraints parentConstraints, List<org.eclipse.lsp4j.TextEdit> edits)voidXMLFormatterDocument. formatAttributeValue(DOMAttr attr, XMLFormattingConstraints parentConstraints, List<org.eclipse.lsp4j.TextEdit> edits) -
Uses of DOMAttr in org.eclipse.lemminx.settings
Methods in org.eclipse.lemminx.settings with parameters of type DOMAttr Modifier and Type Method Description XMLSymbolExpressionFilterXMLSymbolFilter. getFilterForInlineAttr(DOMAttr attrNode)Gets the first matched attribute node that is set as an inline attribute for an element. -
Uses of DOMAttr in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils with parameters of type DOMAttr Modifier and Type Method Description XMLBuilderXMLBuilder. addAttribute(DOMAttr attr, int level)XMLBuilderXMLBuilder. addPrologAttribute(DOMAttr attr)Add prolog attribute It will not perform any linefeeds and only basic indentation.XMLBuilderXMLBuilder. addSingleAttribute(DOMAttr attr)XMLBuilderXMLBuilder. addSingleAttribute(DOMAttr attr, boolean surroundWithQuotes, boolean prependSpace)static org.eclipse.lsp4j.RangeXMLPositionUtility. selectAttributeName(DOMAttr attr)Returns the attribute name range and null otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility. selectAttributeValue(DOMAttr attr)Returns the attribute value range and null otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility. selectAttributeValue(DOMAttr attr, boolean withoutQuote)Returns the attribute value range and null otherwise.
-