public class

XPathConstants

extends Object
java.lang.Object
   ↳ javax.xml.xpath.XPathConstants

Class Overview

XPath constants.

Summary

Constants
QName BOOLEAN

The XPath 1.0 boolean data type.

String DOM_OBJECT_MODEL

The URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".

QName NODE

The XPath 1.0 NodeSet data type.

QName NODESET

The XPath 1.0 NodeSet data type.

QName NUMBER

The XPath 1.0 number data type.

QName STRING

The XPath 1.0 string data type.

[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final QName BOOLEAN

Since: API Level 8

The XPath 1.0 boolean data type.

Maps to Java Boolean.

public static final String DOM_OBJECT_MODEL

Since: API Level 8

The URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".

Constant Value: "http://java.sun.com/jaxp/xpath/dom"

public static final QName NODE

Since: API Level 8

The XPath 1.0 NodeSet data type.

Maps to Java Node.

public static final QName NODESET

Since: API Level 8

The XPath 1.0 NodeSet data type.

Maps to Java NodeList.

public static final QName NUMBER

Since: API Level 8

The XPath 1.0 number data type.

Maps to Java Double.

public static final QName STRING

Since: API Level 8

The XPath 1.0 string data type.

Maps to Java String.