public class

XPathConstants

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

Class Overview

XPath constants.

Summary

Constants
QNameBOOLEAN

The XPath 1.0 boolean data type.

StringDOM_OBJECT_MODEL

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

QNameNODE

The XPath 1.0 NodeSet data type.

QNameNODESET

The XPath 1.0 NodeSet data type.

QNameNUMBER

The XPath 1.0 number data type.

QNameSTRING

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.