constants.java
来自「开源的axis2框架的源码。用于开发WEBSERVER」· Java 代码 · 共 369 行 · 第 1/2 页
JAVA
369 行
/*
* 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.namespace;
import javax.xml.namespace.QName;
public class Constants {
public static final String AXIS2_NAMESPACE_URI =
"http://ws.apache.org/namespaces/axis2";
public static final String AXIS2_NAMESPACE_PREFIX = "axis2";
// Namespace Prefix Constants
//////////////////////////////////////////////////////////////////////////
public static final String NS_PREFIX_SOAP_ENV = "soapenv";
public static final String NS_PREFIX_SOAP_ENC = "soapenc";
public static final String NS_PREFIX_SCHEMA_XSI = "xsi";
public static final String NS_PREFIX_SCHEMA_XSD = "xsd";
public static final String NS_PREFIX_WSDL = "wsdl";
public static final String NS_PREFIX_WSDL_SOAP = "wsdlsoap";
public static final String NS_PREFIX_XML = "xml";
public static final String NS_PREFIX_XOP = "xop";
//
// SOAP-ENV Namespaces
//
public static final String URI_SOAP11_ENV =
"http://schemas.xmlsoap.org/soap/envelope/";
public static final String URI_SOAP12_ENV =
"http://www.w3.org/2003/05/soap-envelope";
public static final String URI_LITERAL_ENC = "";
//
// SOAP-ENC Namespaces
//
public static final String URI_SOAP11_ENC =
"http://schemas.xmlsoap.org/soap/encoding/";
public static final String URI_SOAP12_ENC =
"http://www.w3.org/2003/05/soap-encoding";
public static final String URI_SOAP12_NOENC =
"http://www.w3.org/2003/05/soap-envelope/encoding/none";
// Misc SOAP Namespaces / URIs
public static final String URI_SOAP11_NEXT_ACTOR =
"http://schemas.xmlsoap.org/soap/actor/next";
public static final String URI_SOAP12_NEXT_ROLE =
"http://www.w3.org/2003/05/soap-envelope/role/next";
/**
* @deprecated use URI_SOAP12_NEXT_ROLE
*/
public static final String URI_SOAP12_NEXT_ACTOR = URI_SOAP12_NEXT_ROLE;
public static final String URI_SOAP12_RPC =
"http://www.w3.org/2003/05/soap-rpc";
public static final String URI_SOAP12_NONE_ROLE =
"http://www.w3.org/2003/05/soap-envelope/role/none";
public static final String URI_SOAP12_ULTIMATE_ROLE =
"http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver";
public static final String URI_SOAP11_HTTP =
"http://schemas.xmlsoap.org/soap/http";
public static final String URI_SOAP12_HTTP =
"http://www.w3.org/2003/05/http";
public static final String NS_URI_XMLNS =
"http://www.w3.org/2000/xmlns/";
public static final String NS_URI_XML =
"http://www.w3.org/XML/1998/namespace";
//
// Schema XSD Namespaces
//
public static final String URI_1999_SCHEMA_XSD =
"http://www.w3.org/1999/XMLSchema";
public static final String URI_2000_SCHEMA_XSD =
"http://www.w3.org/2000/10/XMLSchema";
public static final String URI_2001_SCHEMA_XSD =
"http://www.w3.org/2001/XMLSchema";
public static final String URI_DEFAULT_SCHEMA_XSD = URI_2001_SCHEMA_XSD;
//
// Schema XSI Namespaces
//
public static final String URI_1999_SCHEMA_XSI =
"http://www.w3.org/1999/XMLSchema-instance";
public static final String URI_2000_SCHEMA_XSI =
"http://www.w3.org/2000/10/XMLSchema-instance";
public static final String URI_2001_SCHEMA_XSI =
"http://www.w3.org/2001/XMLSchema-instance";
public static final String URI_DEFAULT_SCHEMA_XSI = URI_2001_SCHEMA_XSI;
public static final String URI_POLICY =
"http://schemas.xmlsoap.org/ws/2004/09/policy";
/**
* WSDL Namespace.
*/
public static final String NS_URI_WSDL11 =
"http://schemas.xmlsoap.org/wsdl/";
public static final String NS_URI_WSDL20 =
"http://www.w3.org/2004/03/wsdl";
//
// WSDL extensions for SOAP in DIME
// (http://gotdotnet.com/team/xml_wsspecs/dime/WSDL-Extension-for-DIME.htm)
//
public static final String URI_DIME_WSDL =
"http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/";
public static final String URI_DIME_CONTENT =
"http://schemas.xmlsoap.org/ws/2002/04/content-type/";
public static final String URI_DIME_REFERENCE =
"http://schemas.xmlsoap.org/ws/2002/04/reference/";
public static final String URI_DIME_CLOSED_LAYOUT =
"http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout";
public static final String URI_DIME_OPEN_LAYOUT =
"http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout";
// XOP/MTOM
public static final String URI_XOP_INCLUDE =
"http://www.w3.org/2004/08/xop/include";
public static final String ELEM_XOP_INCLUDE = "Include";
//
// WSDL SOAP Namespace
//
public static final String URI_WSDL11_SOAP =
"http://schemas.xmlsoap.org/wsdl/soap/";
public static final String URI_WSDL12_SOAP =
"http://schemas.xmlsoap.org/wsdl/soap12/";
public static final String ELEM_ENVELOPE = "Envelope";
public static final String ELEM_HEADER = "Header";
public static final String ELEM_BODY = "Body";
public static final String ELEM_FAULT = "Fault";
public static final String ELEM_NOTUNDERSTOOD = "NotUnderstood";
public static final String ELEM_UPGRADE = "Upgrade";
public static final String ELEM_SUPPORTEDENVELOPE = "SupportedEnvelope";
public static final String ELEM_FAULT_CODE = "faultcode";
public static final String ELEM_FAULT_STRING = "faultstring";
public static final String ELEM_FAULT_DETAIL = "detail";
public static final String ELEM_FAULT_ACTOR = "faultactor";
public static final String ELEM_FAULT_CODE_SOAP12 = "Code";
public static final String ELEM_FAULT_VALUE_SOAP12 = "Value";
public static final String ELEM_FAULT_SUBCODE_SOAP12 = "Subcode";
public static final String ELEM_FAULT_REASON_SOAP12 = "Reason";
public static final String ELEM_FAULT_NODE_SOAP12 = "Node";
public static final String ELEM_FAULT_ROLE_SOAP12 = "Role";
public static final String ELEM_FAULT_DETAIL_SOAP12 = "Detail";
public static final String ELEM_TEXT_SOAP12 = "Text";
public static final String ATTR_MUST_UNDERSTAND = "mustUnderstand";
public static final String ATTR_ENCODING_STYLE = "encodingStyle";
public static final String ATTR_ACTOR = "actor";
public static final String ATTR_ROLE = "role";
public static final String ATTR_RELAY = "relay";
public static final String ATTR_ROOT = "root";
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?