Stay organized with collections
Save and categorize content based on your preferences.
XPathConstants
open class XPathConstants
XPath constants.
Summary
Constants |
static String |
The URI for the DOM object model, "http://java.
|
Properties |
static QName! |
The XPath 1.
|
static QName! |
The XPath 1.
|
static QName! |
The XPath 1.
|
static QName! |
The XPath 1.
|
static QName! |
The XPath 1.
|
Constants
DOM_OBJECT_MODEL
static val DOM_OBJECT_MODEL: String
The URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".
Value: "http://java.sun.com/jaxp/xpath/dom"
Properties
BOOLEAN
static val BOOLEAN: QName!
The XPath 1.0 boolean data type.
Maps to Java Boolean
.
NUMBER
static val NUMBER: QName!
The XPath 1.0 number data type.
Maps to Java Double
.
STRING
static val STRING: QName!
The XPath 1.0 string data type.
Maps to Java String
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# XPathConstants\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nXPathConstants\n==============\n\n```\nopen class XPathConstants\n```\n\n|---|-------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [javax.xml.xpath.XPathConstants](#) |\n\nXPath constants.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DOM_OBJECT_MODEL](#DOM_OBJECT_MODEL:kotlin.String) The URI for the DOM object model, \"http://java. |\n\n| Properties ||\n|-------------------------------------------|------------------------------------------------------------|\n| static [QName](../namespace/QName.html#)! | [BOOLEAN](#BOOLEAN:javax.xml.namespace.QName) The XPath 1. |\n| static [QName](../namespace/QName.html#)! | [NODE](#NODE:javax.xml.namespace.QName) The XPath 1. |\n| static [QName](../namespace/QName.html#)! | [NODESET](#NODESET:javax.xml.namespace.QName) The XPath 1. |\n| static [QName](../namespace/QName.html#)! | [NUMBER](#NUMBER:javax.xml.namespace.QName) The XPath 1. |\n| static [QName](../namespace/QName.html#)! | [STRING](#STRING:javax.xml.namespace.QName) The XPath 1. |\n\nConstants\n---------\n\n### DOM_OBJECT_MODEL\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DOM_OBJECT_MODEL: String\n```\n\nThe URI for the DOM object model, \"http://java.sun.com/jaxp/xpath/dom\". \n\n Value: \"http://java.sun.com/jaxp/xpath/dom\"\n\nProperties\n----------\n\n### BOOLEAN\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val BOOLEAN: QName!\n```\n\nThe XPath 1.0 boolean data type.\n\nMaps to Java [Boolean](../../../java/lang/Boolean.html#). \n\n### NODE\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NODE: QName!\n```\n\nThe XPath 1.0 NodeSet data type.\n\nMaps to Java [org.w3c.dom.Node](https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node/index.html). \n\n### NODESET\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NODESET: QName!\n```\n\nThe XPath 1.0 NodeSet data type.\n\nMaps to Java [org.w3c.dom.NodeList](https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-node-list/index.html). \n\n### NUMBER\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NUMBER: QName!\n```\n\nThe XPath 1.0 number data type.\n\nMaps to Java [Double](../../../java/lang/Double.html#). \n\n### STRING\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val STRING: QName!\n```\n\nThe XPath 1.0 string data type.\n\nMaps to Java [String](../../../java/lang/String.html#)."]]