Modifier and Type | Method and Description |
---|---|
DOMAttr |
DOMDocument.createAttribute(String name) |
DOMAttr |
DOMDocument.createAttributeNS(String namespaceURI,
String qualifiedName) |
static DOMAttr |
DOMNode.findAttrAt(DOMNode node,
int offset) |
DOMAttr |
DOMNode.findAttrAt(int offset) |
DOMAttr |
SchemaLocation.getAttr() |
DOMAttr |
NoNamespaceSchemaLocation.getAttr() |
DOMAttr |
DOMNode.getAttributeAtIndex(int index)
Returns the attribute at the given index, the order is how the attributes
appear in the document.
|
DOMAttr |
DOMNode.getAttributeNode(String name) |
DOMAttr |
DOMElement.getAttributeNode(String name) |
DOMAttr |
DOMNode.getAttributeNode(String prefix,
String suffix)
Returns the attribute that matches the given name.
|
DOMAttr |
DOMElement.getAttributeNodeNS(String arg0,
String arg1) |
DOMAttr |
DOMElement.removeAttributeNode(Attr arg0) |
DOMAttr |
DOMElement.setAttributeNode(Attr arg0) |
DOMAttr |
DOMElement.setAttributeNodeNS(Attr arg0) |
Modifier and Type | Method and Description |
---|---|
List<DOMAttr> |
DOMNode.getAttributeNodes() |
Modifier and Type | Method and Description |
---|---|
void |
DOMNode.setAttributeNode(DOMAttr attr) |
Constructor and Description |
---|
NoNamespaceSchemaLocation(DOMAttr attr) |
SchemaLocation(DOMAttr attr) |
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
|
Modifier and Type | Method and Description |
---|---|
static String |
DataType.getDocumentation(DOMAttr attr) |
Modifier and Type | Method and Description |
---|---|
static DOMAttr |
XSDUtils.findSchemaLocationAttrByURI(DOMDocument document,
String grammarURI)
Returns the xsd:import/@schemaLocation or xsd:include/@schemaLocation
declared in the given
document by the given
grammarURI and null otherwise. |
static DOMAttr |
XSDUtils.getSchemaLocation(DOMElement element) |
Modifier and Type | Method and Description |
---|---|
static XSDUtils.BindingType |
XSDUtils.getBindingType(DOMAttr originAttr)
Returns the binding type of the origin attribute which bounds an another
target attribute.
|
static void |
XSDUtils.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
XSDUtils.searchXSOriginAttributes(DOMNode targetNode,
BiConsumer<DOMAttr,DOMAttr> collector,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Search origin attributes from the given target node..
|
static void |
XSDUtils.searchXSOriginAttributes(DOMNode targetNode,
BiConsumer<DOMAttr,DOMAttr> collector,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Search origin attributes from the given target node..
|
static void |
XSDUtils.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.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.Hover |
XSISchemaModel.computeHoverResponse(DOMAttr attribute,
IHoverRequest request) |
static boolean |
XSISchemaModel.isXSISchemaLocationAttr(String name,
DOMAttr attr) |
Modifier and Type | Method and Description |
---|---|
boolean |
XSIFormatterParticipant.formatAttributeValue(String name,
String valueWithoutQuote,
Character quote,
DOMAttr attr,
XMLBuilder xml) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IFormatterParticipant.formatAttributeValue(String name,
String valueWithoutQuote,
Character quote,
DOMAttr attr,
XMLBuilder xml)
Format the given attribute value.
|
Modifier and Type | Method and Description |
---|---|
XMLSymbolExpressionFilter |
XMLSymbolFilter.getFilterForInlineAttr(DOMAttr attrNode)
Gets the first matched attribute node that is set as an
inline attribute for an element.
|
Modifier and Type | Method and Description |
---|---|
XMLBuilder |
XMLBuilder.addAttribute(DOMAttr attr,
int level) |
XMLBuilder |
XMLBuilder.addPrologAttribute(DOMAttr attr)
Add prolog attribute
It will not perform any linefeeds and only basic indentation.
|
XMLBuilder |
XMLBuilder.addSingleAttribute(DOMAttr attr) |
XMLBuilder |
XMLBuilder.addSingleAttribute(DOMAttr attr,
boolean surroundWithQuotes,
boolean prependSpace) |
static org.eclipse.lsp4j.Range |
XMLPositionUtility.selectAttributeName(DOMAttr attr)
Returns the attribute name range and null otherwise.
|
static org.eclipse.lsp4j.Range |
XMLPositionUtility.selectAttributeValue(DOMAttr attr)
Returns the attribute value range and null otherwise.
|
Copyright © 2022. All rights reserved.