Javax.xml.xpath.XPathConstants Class



Introduction

The javax.xml.xpath.XPathConstants class are XPath constants.

Class declaration

Following is the declaration for javax.xml.xpath.XPathConstants class −

public class XPathConstants
   extends Object

Field

Following are the fields for javax.xml.xpath.XPathConstants class −

  • static QName BOOLEAN − This is the XPath 1.0 boolean data type.

  • static String DOM_OBJECT_MODEL − This is the URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".

  • static QName NODE − This is the XPath 1.0 NodeSet data type.

  • static QName NODESET − This is the XPath 1.0 NodeSet data type.

  • static QName NUMBER − This is the XPath 1.0 number data type.

  • static QName STRING − This is the XPath 1.0 string data type.

Class methods

This class inherits methods from the following classes −

java.lang.Object

Advertisements