Class XMLModelUtils


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

      • XMLModelUtils

        public XMLModelUtils()
    • Method Detail

      • 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.