java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.XMLModelUtils

public class XMLModelUtils extends Object
XML model utilities.
  • Constructor Details

    • XMLModelUtils

      public XMLModelUtils()
  • Method Details

    • getHrefNode

      public static DOMRange getHrefNode(DOMDocument document, String hrefLocation)
      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.