KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > xb > binding > Constants


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.xb.binding;
23
24 import javax.xml.namespace.QName JavaDoc;
25
26 /**
27  * @author <a HREF="mailto:alex@jboss.org">Alexey Loubyansky</a>
28  * @version <tt>$Revision: 1958 $</tt>
29  */

30 public interface Constants
31 {
32    String JavaDoc NS_XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
33    String JavaDoc NS_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
34    String JavaDoc NS_XML_SCHEMA_INSTANCE = "http://www.w3.org/2001/XMLSchema-instance";
35    String JavaDoc NS_XML_XMLNS = "http://www.w3.org/2000/xmlns/";
36    String JavaDoc NS_XML_MIME = "http://www.w3.org/2005/05/xmlmime";
37    String JavaDoc NS_XOP_INCLUDE = "http://www.w3.org/2004/08/xop/include";
38    
39    String JavaDoc NS_JAXB = "http://java.sun.com/xml/ns/jaxb";
40    String JavaDoc NS_JBXB = "http://www.jboss.org/xml/ns/jbxb";
41
42    //
43
// XML schema type names
44
//
45

46    QName JavaDoc QNAME_ANYSIMPLETYPE = new QName JavaDoc(NS_XML_SCHEMA, "anySimpleType");
47    QName JavaDoc QNAME_ANYTYPE = new QName JavaDoc(NS_XML_SCHEMA, "anyType");
48
49    // primitive datatypes
50
QName JavaDoc QNAME_STRING = new QName JavaDoc(NS_XML_SCHEMA, "string");
51    QName JavaDoc QNAME_BOOLEAN = new QName JavaDoc(NS_XML_SCHEMA, "boolean");
52    QName JavaDoc QNAME_DECIMAL = new QName JavaDoc(NS_XML_SCHEMA, "decimal");
53    QName JavaDoc QNAME_FLOAT = new QName JavaDoc(NS_XML_SCHEMA, "float");
54    QName JavaDoc QNAME_DOUBLE = new QName JavaDoc(NS_XML_SCHEMA, "double");
55    QName JavaDoc QNAME_DURATION = new QName JavaDoc(NS_XML_SCHEMA, "duration");
56    QName JavaDoc QNAME_DATETIME = new QName JavaDoc(NS_XML_SCHEMA, "dateTime");
57    QName JavaDoc QNAME_TIME = new QName JavaDoc(NS_XML_SCHEMA, "time");
58    QName JavaDoc QNAME_DATE = new QName JavaDoc(NS_XML_SCHEMA, "date");
59    QName JavaDoc QNAME_GYEARMONTH = new QName JavaDoc(NS_XML_SCHEMA, "gYearMonth");
60    QName JavaDoc QNAME_GYEAR = new QName JavaDoc(NS_XML_SCHEMA, "gYear");
61    QName JavaDoc QNAME_GMONTHDAY = new QName JavaDoc(NS_XML_SCHEMA, "gMonthDay");
62    QName JavaDoc QNAME_GDAY = new QName JavaDoc(NS_XML_SCHEMA, "gDay");
63    QName JavaDoc QNAME_GMONTH = new QName JavaDoc(NS_XML_SCHEMA, "gMonth");
64    QName JavaDoc QNAME_HEXBINARY = new QName JavaDoc(NS_XML_SCHEMA, "hexBinary");
65    QName JavaDoc QNAME_BASE64BINARY = new QName JavaDoc(NS_XML_SCHEMA, "base64Binary");
66    QName JavaDoc QNAME_ANYURI = new QName JavaDoc(NS_XML_SCHEMA, "anyURI");
67    QName JavaDoc QNAME_QNAME = new QName JavaDoc(NS_XML_SCHEMA, "QName");
68    QName JavaDoc QNAME_NOTATION = new QName JavaDoc(NS_XML_SCHEMA, "NOTATION");
69
70    // derived datatypes
71
QName JavaDoc QNAME_NORMALIZEDSTRING = new QName JavaDoc(NS_XML_SCHEMA, "normalizedString");
72    QName JavaDoc QNAME_TOKEN = new QName JavaDoc(NS_XML_SCHEMA, "token");
73    QName JavaDoc QNAME_LANGUAGE = new QName JavaDoc(NS_XML_SCHEMA, "language");
74    QName JavaDoc QNAME_NMTOKEN = new QName JavaDoc(NS_XML_SCHEMA, "NMTOKEN");
75    QName JavaDoc QNAME_NMTOKENS = new QName JavaDoc(NS_XML_SCHEMA, "NMTOKENS");
76    QName JavaDoc QNAME_NAME = new QName JavaDoc(NS_XML_SCHEMA, "Name");
77    QName JavaDoc QNAME_NCNAME = new QName JavaDoc(NS_XML_SCHEMA, "NCName");
78    QName JavaDoc QNAME_ID = new QName JavaDoc(NS_XML_SCHEMA, "ID");
79    QName JavaDoc QNAME_IDREF = new QName JavaDoc(NS_XML_SCHEMA, "IDREF");
80    QName JavaDoc QNAME_IDREFS = new QName JavaDoc(NS_XML_SCHEMA, "IDREFS");
81    QName JavaDoc QNAME_ENTITY = new QName JavaDoc(NS_XML_SCHEMA, "ENTITY");
82    QName JavaDoc QNAME_ENTITIES = new QName JavaDoc(NS_XML_SCHEMA, "ENTITIES");
83    QName JavaDoc QNAME_INTEGER = new QName JavaDoc(NS_XML_SCHEMA, "integer");
84    QName JavaDoc QNAME_NONPOSITIVEINTEGER = new QName JavaDoc(NS_XML_SCHEMA, "nonPositiveInteger");
85    QName JavaDoc QNAME_NEGATIVEINTEGER = new QName JavaDoc(NS_XML_SCHEMA, "negativeInteger");
86    QName JavaDoc QNAME_LONG = new QName JavaDoc(NS_XML_SCHEMA, "long");
87    QName JavaDoc QNAME_INT = new QName JavaDoc(NS_XML_SCHEMA, "int");
88    QName JavaDoc QNAME_SHORT = new QName JavaDoc(NS_XML_SCHEMA, "short");
89    QName JavaDoc QNAME_BYTE = new QName JavaDoc(NS_XML_SCHEMA, "byte");
90    QName JavaDoc QNAME_NONNEGATIVEINTEGER = new QName JavaDoc(NS_XML_SCHEMA, "nonNegativeInteger");
91    QName JavaDoc QNAME_UNSIGNEDLONG = new QName JavaDoc(NS_XML_SCHEMA, "unsignedLong");
92    QName JavaDoc QNAME_UNSIGNEDINT = new QName JavaDoc(NS_XML_SCHEMA, "unsignedInt");
93    QName JavaDoc QNAME_UNSIGNEDSHORT = new QName JavaDoc(NS_XML_SCHEMA, "unsignedShort");
94    QName JavaDoc QNAME_UNSIGNEDBYTE = new QName JavaDoc(NS_XML_SCHEMA, "unsignedByte");
95    QName JavaDoc QNAME_POSITIVEINTEGER = new QName JavaDoc(NS_XML_SCHEMA, "positiveInteger");
96
97    QName JavaDoc QNAME_XMIME_BASE64BINARY = new QName JavaDoc(NS_XML_MIME, "base64Binary");
98    QName JavaDoc QNAME_XMIME_CONTENTTYPE = new QName JavaDoc(NS_XML_MIME, "contentType");
99    QName JavaDoc QNAME_XOP_INCLUDE = new QName JavaDoc(Constants.NS_XOP_INCLUDE, "Include");
100 }
101
Popular Tags