Class XMLModelUtils
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.XMLModelUtils
XML model utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DOMRangegetHrefNode(DOMDocument document, String hrefLocation) Returns the DOM range of the href of the xml-model processing instruction which matches the given hrefLocation.
-
Constructor Details
-
XMLModelUtils
public XMLModelUtils()
-
-
Method Details
-
getHrefNode
Returns the DOM range of the href of the xml-model processing instruction which matches the given hrefLocation.- Parameters:
document- the DOM document.hrefLocation- the href location.- Returns:
- the DOM range of the href of the xml-model processing instruction which matches the given hrefLocation.
-