public interface IPositionRequest
Modifier and Type | Method and Description |
---|---|
<T> T |
getComponent(Class clazz) |
String |
getCurrentAttributeName() |
String |
getCurrentTag() |
LineIndentInfo |
getLineIndentInfo()
Returns the line indent information of the offset where completion was
triggered.
|
DOMNode |
getNode()
Returns the node where completion was triggered.
|
int |
getOffset()
Returns the offset where completion was triggered.
|
DOMElement |
getParentElement()
Returns the parent element of the node where completion was triggered and
null otherwise.
|
org.eclipse.lsp4j.Position |
getPosition()
Returns the position
|
DOMDocument |
getXMLDocument()
Returns the XML document.
|
int getOffset()
org.eclipse.lsp4j.Position getPosition()
DOMNode getNode()
DOMElement getParentElement()
DOMDocument getXMLDocument()
String getCurrentTag()
String getCurrentAttributeName()
LineIndentInfo getLineIndentInfo() throws BadLocationException
BadLocationException
<T> T getComponent(Class clazz)
Copyright © 2021. All rights reserved.