1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *     http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17// $Id: XPathConstants.java 446598 2006-09-15 12:55:40Z jeremias $
18
19package javax.xml.xpath;
20
21import javax.xml.namespace.QName;
22
23/**
24 * <p>XPath constants.</p>
25 *
26 * @author <a href="mailto:Norman.Walsh@Sun.COM">Norman Walsh</a>
27 * @author <a href="mailto:Jeff.Suttor@Sun.COM">Jeff Suttor</a>
28 * @version $Revision: 446598 $, $Date: 2006-09-15 05:55:40 -0700 (Fri, 15 Sep 2006) $
29 * @see <a href="http://www.w3.org/TR/xpath">XML Path Language (XPath) Version 1.0</a>
30 * @since 1.5
31 */
32public class XPathConstants {
33
34    /**
35     * <p>Private constructor to prevent instantiation.</p>
36     */
37    private XPathConstants() { }
38
39    /**
40     * <p>The XPath 1.0 number data type.</p>
41     *
42     * <p>Maps to Java {@link Double}.</p>
43     */
44    public static final QName NUMBER = new QName("http://www.w3.org/1999/XSL/Transform", "NUMBER");
45
46    /**
47     * <p>The XPath 1.0 string data type.</p>
48     *
49     * <p>Maps to Java {@link String}.</p>
50     */
51    public static final QName STRING = new QName("http://www.w3.org/1999/XSL/Transform", "STRING");
52
53    /**
54     * <p>The XPath 1.0 boolean data type.</p>
55     *
56     * <p>Maps to Java {@link Boolean}.</p>
57     */
58    public static final QName BOOLEAN = new QName("http://www.w3.org/1999/XSL/Transform", "BOOLEAN");
59
60    /**
61     * <p>The XPath 1.0 NodeSet data type.</p>
62     *
63     * <p>Maps to Java {@link org.w3c.dom.NodeList}.</p>
64     */
65    public static final QName NODESET = new QName("http://www.w3.org/1999/XSL/Transform", "NODESET");
66
67    /**
68     * <p>The XPath 1.0 NodeSet data type.
69     *
70     * <p>Maps to Java {@link org.w3c.dom.Node}.</p>
71     */
72    public static final QName NODE = new QName("http://www.w3.org/1999/XSL/Transform", "NODE");
73
74    /**
75     * <p>The URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".</p>
76     */
77    public static final String DOM_OBJECT_MODEL = "http://java.sun.com/jaxp/xpath/dom";
78}
79