public class

XPathConstants

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

Class Overview

XPath constants.

Summary

Constants
String DOM_OBJECT_MODEL

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

Fields
public static final QName BOOLEAN

The XPath 1.0 boolean data type.

public static final QName NODE

The XPath 1.0 NodeSet data type.

public static final QName NODESET

The XPath 1.0 NodeSet data type.

public static final QName NUMBER

The XPath 1.0 number data type.

public static final QName STRING

The XPath 1.0 string data type.

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

Constants

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"

Fields

public static final QName BOOLEAN

Since: API Level 8

The XPath 1.0 boolean data type.

Maps to Java Boolean.

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.