Class DTDDeclParameter

java.lang.Object
org.eclipse.lemminx.dom.DTDDeclParameter
All Implemented Interfaces:
DOMRange, TargetRange

public class DTDDeclParameter extends Object implements DOMRange, TargetRange
DTDDeclParameter
  • Constructor Details

    • DTDDeclParameter

      public DTDDeclParameter(DTDDeclNode ownerNode, int start, int end)
  • Method Details

    • getStart

      public int getStart()
      Description copied from interface: DOMRange
      Returns the start offset of the node.
      Specified by:
      getStart in interface DOMRange
      Returns:
      the start offset of the node.
    • getEnd

      public int getEnd()
      Description copied from interface: DOMRange
      Returns the end offset of the node.
      Specified by:
      getEnd in interface DOMRange
      Returns:
      the end offset of the node.
    • getOwnerDocument

      public DOMDocument getOwnerDocument()
      Description copied from interface: DOMRange
      Returns the owner document.
      Specified by:
      getOwnerDocument in interface DOMRange
      Returns:
      the owner document.
    • getOwnerDocType

      public DOMDocumentType getOwnerDocType()
    • getOwnerNode

      public DTDDeclNode getOwnerNode()
    • getParameter

      public String getParameter()
    • getParameterWithoutFirstAndLastChar

      public String getParameterWithoutFirstAndLastChar()
      Will get the parameter with the first and last character removed Can be used to remove the quotations from a URL value...
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getTargetRange

      public org.eclipse.lsp4j.Range getTargetRange()
      Description copied from interface: TargetRange
      Returns the target range.
      Specified by:
      getTargetRange in interface TargetRange
      Returns:
      the target range.
    • getTargetURI

      public String getTargetURI()
      Description copied from interface: TargetRange
      Returns the target URI.
      Specified by:
      getTargetURI in interface TargetRange
      Returns:
      the target URI.