Package org.eclipse.lemminx.dom
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 Summary
Constructors Constructor Description DTDDeclParameter(DTDDeclNode ownerNode, int start, int end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetEnd()Returns the end offset of the node.DOMDocumentTypegetOwnerDocType()DOMDocumentgetOwnerDocument()Returns the owner document.DTDDeclNodegetOwnerNode()StringgetParameter()StringgetParameterWithoutFirstAndLastChar()Will get the parameter with the first and last character removed Can be used to remove the quotations from a URL value...intgetStart()Returns the start offset of the node.org.eclipse.lsp4j.RangegetTargetRange()Returns the target range.StringgetTargetURI()Returns the target URI.
-
-
-
Constructor Detail
-
DTDDeclParameter
public DTDDeclParameter(DTDDeclNode ownerNode, int start, int end)
-
-
Method Detail
-
getStart
public int getStart()
Description copied from interface:DOMRangeReturns the start offset of the node.
-
getEnd
public int getEnd()
Description copied from interface:DOMRangeReturns the end offset of the node.
-
getOwnerDocument
public DOMDocument getOwnerDocument()
Description copied from interface:DOMRangeReturns the owner document.- Specified by:
getOwnerDocumentin interfaceDOMRange- 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...
-
getTargetRange
public org.eclipse.lsp4j.Range getTargetRange()
Description copied from interface:TargetRangeReturns the target range.- Specified by:
getTargetRangein interfaceTargetRange- Returns:
- the target range.
-
getTargetURI
public String getTargetURI()
Description copied from interface:TargetRangeReturns the target URI.- Specified by:
getTargetURIin interfaceTargetRange- Returns:
- the target URI.
-
-