Team LiB
Previous Section Next Section

XPathConstantsjavax.xml.xpath

Java 5.0

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;  
}

    Team LiB
    Previous Section Next Section