Modifier and Type | Class and Description |
---|---|
class |
DOMAttr
An attribute node.
|
class |
DOMCDATASection
A CData section node.
|
class |
DOMCharacterData
A CharacterData node.
|
class |
DOMComment
A Comment node.
|
class |
DOMDocument
XML document.
|
class |
DOMDocumentType
A doctype node.
|
class |
DOMElement
An Element node.
|
class |
DOMProcessingInstruction
A processing instruction node.
|
class |
DOMText
A Text node.
|
class |
DTDAttlistDecl
DTD Attribute List declaration
|
class |
DTDDeclNode
DTDNode
|
class |
DTDElementDecl
DTD Element Declaration
|
class |
DTDEntityDecl
DOM Entity declaration
|
class |
DTDNotationDecl
DTDNotationDecl
|
Modifier and Type | Method and Description |
---|---|
DOMNode |
DOMDocument.adoptNode(Node source) |
DOMNode |
DOMNode.findNodeAt(int offset) |
DOMNode |
DOMNode.findNodeBefore(int offset)
Returns the node before
|
static DOMNode |
DOMNode.findNodeOrAttrAt(DOMDocument document,
int offset) |
DOMNode |
DOMNode.getChild(int index)
Returns node child at the given index.
|
DOMNode |
DOMNode.getFirstChild() |
DOMNode |
DOMNode.getLastChild() |
DOMNode |
DOMNode.getNextSibling() |
DOMNode |
DOMAttr.getNextSibling() |
DOMNode |
DOMAttr.getNodeAttrName() |
DOMNode |
DOMAttr.getNodeAttrValue() |
DOMNode |
DOMNode.getParentNode() |
DOMNode |
DOMNode.getPreviousNonTextSibling() |
DOMNode |
DOMNode.getPreviousSibling() |
DOMNode |
DOMDocument.importNode(Node importedNode,
boolean deep) |
DOMNode |
DOMDocument.renameNode(Node n,
String namespaceURI,
String qualifiedName) |
Modifier and Type | Method and Description |
---|---|
Collection<DOMNode> |
DOMDocument.findDTDAttrList(String elementName)
Returns the DTD Attribute list for the given element name and empty
otherwise.
|
List<DOMNode> |
DOMNode.getChildren()
Returns the node children.
|
List<DOMNode> |
DOMNode.getChildrenWithAttributeValue(String name,
String value)
Returns a list of children, each having an attribute called name, with a
value of value
|
List<DOMNode> |
DOMDocument.getRoots() |
Modifier and Type | Method and Description |
---|---|
void |
DOMNode.addChild(DOMNode child)
Add node child and set child.parent to
this |
static DOMAttr |
DOMNode.findAttrAt(DOMNode node,
int offset) |
void |
DOMAttr.setNodeAttrValue(DOMNode nodeAttrValue) |
Constructor and Description |
---|
DOMAttr(String name,
DOMNode ownerElement) |
DOMAttr(String name,
int start,
int end,
DOMNode ownerElement) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.lsp4j.LocationLink |
CMDocument.findTypeLocation(DOMNode node)
Returns the location of the type definition of the given node.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.lsp4j.LocationLink |
CMDTDDocument.findTypeLocation(DOMNode node) |
Modifier and Type | Method and Description |
---|---|
void |
DTDHighlightingParticipant.findDocumentHighlights(DOMNode node,
org.eclipse.lsp4j.Position position,
int offset,
List<org.eclipse.lsp4j.DocumentHighlight> highlights,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
protected void |
DTDReferenceParticipant.findReferences(DOMNode node,
org.eclipse.lsp4j.Position position,
int offset,
org.eclipse.lsp4j.ReferenceContext context,
List<org.eclipse.lsp4j.Location> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
Modifier and Type | Method and Description |
---|---|
void |
XMLReferencesManager.collect(DOMNode node,
Consumer<DOMNode> collector) |
Modifier and Type | Method and Description |
---|---|
void |
XMLReferencesManager.collect(DOMNode node,
Consumer<DOMNode> collector) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.lsp4j.LocationLink |
CMXSDDocument.findTypeLocation(DOMNode originNode) |
Modifier and Type | Method and Description |
---|---|
void |
XSDHighlightingParticipant.findDocumentHighlights(DOMNode node,
org.eclipse.lsp4j.Position position,
int offset,
List<org.eclipse.lsp4j.DocumentHighlight> highlights,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
protected void |
XSDReferenceParticipant.findReferences(DOMNode node,
org.eclipse.lsp4j.Position position,
int offset,
org.eclipse.lsp4j.ReferenceContext context,
List<org.eclipse.lsp4j.Location> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
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..
|
Modifier and Type | Method and Description |
---|---|
boolean |
XMLCompletions.isBalanced(DOMNode node) |
Modifier and Type | Method and Description |
---|---|
DOMNode |
IPositionRequest.getNode()
Returns the node where completion was triggered.
|
Modifier and Type | Method and Description |
---|---|
void |
IHighlightingParticipant.findDocumentHighlights(DOMNode node,
org.eclipse.lsp4j.Position position,
int offset,
List<org.eclipse.lsp4j.DocumentHighlight> highlights,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) |
protected abstract void |
AbstractReferenceParticipant.findReferences(DOMNode node,
org.eclipse.lsp4j.Position position,
int offset,
org.eclipse.lsp4j.ReferenceContext context,
List<org.eclipse.lsp4j.Location> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Find the references
|
Modifier and Type | Method and Description |
---|---|
static DOMNode |
XMLPositionUtility.findUnclosedChildNode(List<DOMNode> children) |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.Range |
XMLPositionUtility.selectStartTagLocalName(DOMNode element)
Returns the range of a tag's local name.
|
static org.eclipse.lsp4j.Range |
XMLPositionUtility.selectStartTagName(DOMNode element)
Returns the range of the start tag name (excludes the '<') of the given
element and null
otherwise. |
Modifier and Type | Method and Description |
---|---|
static DOMNode |
XMLPositionUtility.findUnclosedChildNode(List<DOMNode> children) |
Copyright © 2020. All rights reserved.