public class AndroidXPathFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_NS_PREFIX
Default prefix for android name space: 'android'
|
| Constructor and Description |
|---|
AndroidXPathFactory() |
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.xpath.XPath |
newXPath()
Creates a new XPath object using the default prefix for the android namespace.
|
static javax.xml.xpath.XPath |
newXPath(java.lang.String androidPrefix)
Creates a new XPath object, specifying which prefix in the query is used for the
android namespace.
|
public static final java.lang.String DEFAULT_NS_PREFIX
public static javax.xml.xpath.XPath newXPath(java.lang.String androidPrefix)
androidPrefix - The namespace prefix.public static javax.xml.xpath.XPath newXPath()
DEFAULT_NS_PREFIX