Name
XPathConstants
Synopsis
This class defines
javax.xml.namespace.QName
constants that represent
the possible return types of the evaluate( )
methods of XPath
and
XPathExpression
. It also defines the
DOM_OBJECT_MODEL
constant that can be passed to
XPathFactory.newInstance( )
to specify that the
resulting XPathFactory
should be for the
org.w3c.dom
object model.
public class XPathConstants { // No Constructor // Public Constants public static final javax.xml.namespace.QName BOOLEAN; public static final String DOM_OBJECT_MODEL; ="http://java.sun.com/jaxp/xpath/dom" public static final javax.xml.namespace.QName NODE; public static final javax.xml.namespace.QName NODESET; public static final javax.xml.namespace.QName NUMBER; public static final javax.xml.namespace.QName STRING; }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.