Package com.acrolinx.sidebar.utils
Class XMLLookupUtils
java.lang.Object
com.acrolinx.sidebar.utils.XMLLookupUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic IntRangefindOffsetForNodeInXmlStringByXpath(String xmlContent, String xpath) static StringfindXpathByOffset(String xmlContent, int offsetStart, int offsetEnd) getAllXpathInXmlDocument(String xmlString) static StringgetCommonXpath(String xpath1, String xpath2)
-
Method Details
-
findOffsetForNodeInXmlStringByXpath
-
cleanXML
-
findXpathByOffset
public static String findXpathByOffset(String xmlContent, int offsetStart, int offsetEnd) throws ParserConfigurationException, SAXException, IOException -
getAllXpathInXmlDocument
public static List<String> getAllXpathInXmlDocument(String xmlString) throws ParserConfigurationException, SAXException, IOException -
getCommonXpath
-