Interface IPositionRequest

    • Method Detail

      • getOffset

        int getOffset()
        Returns the offset where completion was triggered.
        Returns:
        the offset where completion was triggered
      • getPosition

        org.eclipse.lsp4j.Position getPosition()
        Returns the position
        Returns:
        the position
      • getNode

        DOMNode getNode()
        Returns the node where completion was triggered.
        Returns:
        the offset where completion was triggered
      • getParentElement

        DOMElement getParentElement()
        Returns the parent element of the node where completion was triggered and null otherwise.
        Returns:
        the parent element of the node where completion was triggered and null otherwise.
      • getXMLDocument

        DOMDocument getXMLDocument()
        Returns the XML document.
        Returns:
        the XML document.
      • getCurrentTag

        String getCurrentTag()
      • getCurrentAttribute

        DOMAttr getCurrentAttribute()
      • getCurrentAttributeName

        String getCurrentAttributeName()
      • getComponent

        <T> T getComponent​(Class clazz)