Searched refs:xpath (Results 1 – 9 of 9) sorted by relevance
27 import javax.xml.xpath.XPath;28 import javax.xml.xpath.XPathFactory;96 XPath xpath = sFactory.newXPath(); in newXPath() local97 xpath.setNamespaceContext(new AndroidNamespaceContext(androidPrefix)); in newXPath()98 return xpath; in newXPath()106 XPath xpath = sFactory.newXPath(); in newXPath() local107 xpath.setNamespaceContext(AndroidNamespaceContext.getDefault()); in newXPath()108 return xpath; in newXPath()
29 import javax.xml.xpath.XPath;30 import javax.xml.xpath.XPathExpressionException;70 XPath xpath = AndroidXPathFactory.newXPath(); in execute() local73 String result = xpath.evaluate(mExpression, new InputSource(new FileInputStream(file))); in execute()
41 import javax.xml.xpath.XPath;42 import javax.xml.xpath.XPathExpressionException;
36 import javax.xml.xpath.XPath;37 import javax.xml.xpath.XPathConstants;38 import javax.xml.xpath.XPathExpressionException;124 XPath xpath = AndroidXPathFactory.newXPath(); in xmlModelChanged() local125 Node node = (Node) xpath.evaluate("/" + resources_desc.getXmlName(), //$NON-NLS-1$ in xmlModelChanged()
35 import javax.xml.xpath.XPath;36 import javax.xml.xpath.XPathConstants;37 import javax.xml.xpath.XPathExpressionException;120 XPath xpath = AndroidXPathFactory.newXPath(); in xmlModelChanged() local121 Node node = (Node) xpath.evaluate("/" + root_desc.getXmlName(), //$NON-NLS-1$ in xmlModelChanged()
34 import javax.xml.xpath.XPath;35 import javax.xml.xpath.XPathConstants;36 import javax.xml.xpath.XPathExpressionException;
50 import javax.xml.xpath.XPath;51 import javax.xml.xpath.XPathConstants;52 import javax.xml.xpath.XPathExpressionException;175 XPath xpath = AndroidXPathFactory.newXPath(); in loadFromXml() local176 Node node = (Node) xpath.evaluate("/" + manifest_desc.getXmlName(), //$NON-NLS-1$ in loadFromXml()
42 import javax.xml.xpath.XPath;43 import javax.xml.xpath.XPathConstants;44 import javax.xml.xpath.XPathExpressionException;636 XPath xpath = AndroidXPathFactory.newXPath(); in extractPackageFromManifest() local639 String packageName = xpath.evaluate("/manifest/@package", source); in extractPackageFromManifest()652 NodeList activityNames = (NodeList) xpath.evaluate(expression, source, in extractPackageFromManifest()
49 import javax.xml.xpath.XPath;50 import javax.xml.xpath.XPathExpressionException;384 XPath xpath = AndroidXPathFactory.newXPath(); in createTestProject() local388 packageName = xpath.evaluate("/manifest/@package", in createTestProject()394 activityName = xpath.evaluate("/manifest/application/activity[1]/@android:name", in createTestProject()