Home
last modified time | relevance | path

Searched refs:xpath (Results 1 – 9 of 9) sorted by relevance

/development/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/xml/
DAndroidXPathFactory.java27 import javax.xml.xpath.XPath;
28 import javax.xml.xpath.XPathFactory;
96 XPath xpath = sFactory.newXPath(); in newXPath() local
97 xpath.setNamespaceContext(new AndroidNamespaceContext(androidPrefix)); in newXPath()
98 return xpath; in newXPath()
106 XPath xpath = sFactory.newXPath(); in newXPath() local
107 xpath.setNamespaceContext(AndroidNamespaceContext.getDefault()); in newXPath()
108 return xpath; in newXPath()
/development/tools/anttasks/src/com/android/ant/
DXPathTask.java29 import javax.xml.xpath.XPath;
30 import javax.xml.xpath.XPathExpressionException;
70 XPath xpath = AndroidXPathFactory.newXPath(); in execute() local
73 String result = xpath.evaluate(mExpression, new InputSource(new FileInputStream(file))); in execute()
DSetupTask.java41 import javax.xml.xpath.XPath;
42 import javax.xml.xpath.XPathExpressionException;
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/resources/
DResourcesEditor.java36 import javax.xml.xpath.XPath;
37 import javax.xml.xpath.XPathConstants;
38 import javax.xml.xpath.XPathExpressionException;
124 XPath xpath = AndroidXPathFactory.newXPath(); in xmlModelChanged() local
125 Node node = (Node) xpath.evaluate("/" + resources_desc.getXmlName(), //$NON-NLS-1$ in xmlModelChanged()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuEditor.java35 import javax.xml.xpath.XPath;
36 import javax.xml.xpath.XPathConstants;
37 import javax.xml.xpath.XPathExpressionException;
120 XPath xpath = AndroidXPathFactory.newXPath(); in xmlModelChanged() local
121 Node node = (Node) xpath.evaluate("/" + root_desc.getXmlName(), //$NON-NLS-1$ in xmlModelChanged()
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DXmlStringFileHelper.java34 import javax.xml.xpath.XPath;
35 import javax.xml.xpath.XPathConstants;
36 import javax.xml.xpath.XPathExpressionException;
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditor.java50 import javax.xml.xpath.XPath;
51 import javax.xml.xpath.XPathConstants;
52 import javax.xml.xpath.XPathExpressionException;
175 XPath xpath = AndroidXPathFactory.newXPath(); in loadFromXml() local
176 Node node = (Node) xpath.evaluate("/" + manifest_desc.getXmlName(), //$NON-NLS-1$ in loadFromXml()
/development/tools/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/
DProjectCreator.java42 import javax.xml.xpath.XPath;
43 import javax.xml.xpath.XPathConstants;
44 import javax.xml.xpath.XPathExpressionException;
636 XPath xpath = AndroidXPathFactory.newXPath(); in extractPackageFromManifest() local
639 String packageName = xpath.evaluate("/manifest/@package", source); in extractPackageFromManifest()
652 NodeList activityNames = (NodeList) xpath.evaluate(expression, source, in extractPackageFromManifest()
/development/tools/sdkmanager/app/src/com/android/sdkmanager/
DMain.java49 import javax.xml.xpath.XPath;
50 import javax.xml.xpath.XPathExpressionException;
384 XPath xpath = AndroidXPathFactory.newXPath(); in createTestProject() local
388 packageName = xpath.evaluate("/manifest/@package", in createTestProject()
394 activityName = xpath.evaluate("/manifest/application/activity[1]/@android:name", in createTestProject()