KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > xpath > XPathConstants


1 // $Id: XPathConstants.java,v 1.7.16.1 2004/05/26 22:31:04 jsuttor Exp $
2

3 /*
4  * @(#)XPathConstants.java 1.6 04/07/26
5  *
6  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
7  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
8  */

9
10 package javax.xml.xpath;
11
12 import javax.xml.namespace.QName JavaDoc;
13
14 /**
15  * <p>XPath constants.</p>
16  *
17  * @author <a HREF="mailto:Norman.Walsh@Sun.COM">Norman Walsh</a>
18  * @author <a HREF="mailto:Jeff.Suttor@Sun.COM">Jeff Suttor</a>
19  * @version $Revision: 1.7.16.1 $, $Date: 2004/05/26 22:31:04 $
20  * @see <a HREF="http://www.w3.org/TR/xpath">XML Path Language (XPath) Version 1.0</a>
21  * @since 1.5
22  */

23 public class XPathConstants {
24       
25     /**
26      * <p>Private constructor to prevent instantiation.</p>
27      */

28     private XPathConstants() { }
29   
30     /**
31      * <p>The XPath 1.0 number data type.</p>
32      *
33      * <p>Maps to Java {@link Double}.</p>
34      */

35     public static final QName JavaDoc NUMBER = new QName JavaDoc("http://www.w3.org/1999/XSL/Transform", "NUMBER");
36
37     /**
38      * <p>The XPath 1.0 string data type.</p>
39      *
40      * <p>Maps to Java {@link String}.</p>
41      */

42     public static final QName JavaDoc STRING = new QName JavaDoc("http://www.w3.org/1999/XSL/Transform", "STRING");
43
44     /**
45      * <p>The XPath 1.0 boolean data type.</p>
46      *
47      * <p>Maps to Java {@link Boolean}.</p>
48      */

49     public static final QName JavaDoc BOOLEAN = new QName JavaDoc("http://www.w3.org/1999/XSL/Transform", "BOOLEAN");
50
51     /**
52      * <p>The XPath 1.0 NodeSet data type.</p>
53      *
54      * <p>Maps to Java {@link org.w3c.dom.NodeList}.</p>
55      */

56     public static final QName JavaDoc NODESET = new QName JavaDoc("http://www.w3.org/1999/XSL/Transform", "NODESET");
57
58     /**
59      * <p>The XPath 1.0 NodeSet data type.
60      *
61      * <p>Maps to Java {@link org.w3c.dom.Node}.</p>
62      */

63     public static final QName JavaDoc NODE = new QName JavaDoc("http://www.w3.org/1999/XSL/Transform", "NODE");
64
65     /**
66      * <p>The URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".</p>
67      */

68     public static final String JavaDoc DOM_OBJECT_MODEL = "http://java.sun.com/jaxp/xpath/dom";
69 }
70
Popular Tags