blob: aff3bd432c96c94a704895f2f97d412f8682782b [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.axis2.rmi.util;
import javax.xml.namespace.QName;
public interface Constants {
public static final String XMLNS_ATTRIBUTE_NS_URI = "http://www.w3.org/2000/xmlns/";
public static final String URI_2001_SCHEMA_XSD = "http://www.w3.org/2001/XMLSchema";
public static final String URI_2001_SCHEMA_XSI = "http://www.w3.org/2001/XMLSchema-instance";
public static final String URI_DEFAULT_SCHEMA_XSD = Constants.URI_2001_SCHEMA_XSD;
public static final String URI_DEFAULT_SCHEMA_XSI = Constants.URI_2001_SCHEMA_XSI;
public static final QName XSD_STRING = new QName(URI_DEFAULT_SCHEMA_XSD, "string");
public static final QName XSD_BOOLEAN = new QName(URI_DEFAULT_SCHEMA_XSD, "boolean");
public static final QName XSD_DOUBLE = new QName(URI_DEFAULT_SCHEMA_XSD, "double");
public static final QName XSD_FLOAT = new QName(URI_DEFAULT_SCHEMA_XSD, "float");
public static final QName XSD_INT = new QName(URI_DEFAULT_SCHEMA_XSD, "int");
public static final QName XSD_INTEGER = new QName(URI_DEFAULT_SCHEMA_XSD, "integer");
public static final QName XSD_LONG = new QName(URI_DEFAULT_SCHEMA_XSD, "long");
public static final QName XSD_SHORT = new QName(URI_DEFAULT_SCHEMA_XSD, "short");
public static final QName XSD_BYTE = new QName(URI_DEFAULT_SCHEMA_XSD, "byte");
public static final QName XSD_DECIMAL = new QName(URI_DEFAULT_SCHEMA_XSD, "decimal");
public static final QName XSD_BASE64 = new QName(URI_DEFAULT_SCHEMA_XSD, "base64Binary");
public static final QName XSD_HEXBIN = new QName(URI_DEFAULT_SCHEMA_XSD, "hexBinary");
public static final QName XSD_ANYSIMPLETYPE = new QName(URI_DEFAULT_SCHEMA_XSD, "anySimpleType");
public static final QName XSD_ANYTYPE = new QName(URI_DEFAULT_SCHEMA_XSD, "anyType");
public static final QName XSD_ANY = new QName(URI_DEFAULT_SCHEMA_XSD, "any");
public static final QName XSD_QNAME = new QName(URI_DEFAULT_SCHEMA_XSD, "QName");
public static final QName XSD_DATETIME = new QName(URI_DEFAULT_SCHEMA_XSD, "dateTime");
public static final QName XSD_DATE = new QName(URI_DEFAULT_SCHEMA_XSD, "date");
public static final QName XSD_TIME = new QName(URI_DEFAULT_SCHEMA_XSD, "time");
// attribute types used in collection api
public static final int COLLECTION_TYPE = 0x0001;
public static final int LIST_TYPE = 0x0002;
public static final int SET_TYPE = 0x0004;
public static final int MAP_TYPE = 0x0008;
public static final int OTHER_TYPE = 0x0010;
//rmi namespaces
public static final String RMI_TYPE_NAMSPACE = "http://ws.apache.org/rmi/types";
}