⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constants.java

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
            search = URIS_SCHEMA_XSI;        else            search = new String[] {namespaceURI};        for (int i=0; i < search.length; i++) {            if (search[i].equals(second.getNamespaceURI())) {                return true;            }        }        return false;    }    // 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;    public static final String[] URIS_SCHEMA_XSD = {        URI_1999_SCHEMA_XSD,        URI_2000_SCHEMA_XSD,        URI_2001_SCHEMA_XSD    };    public static final QName [] QNAMES_NIL = {        SchemaVersion2001.QNAME_NIL,        SchemaVersion2000.QNAME_NIL,        SchemaVersion1999.QNAME_NIL    };    /**     * Returns true if SchemaXSD Namespace.     *     * @param s  the string representing the URI to check     * @return true if s represents the Schema XSD namespace, false otherwise     */    public static boolean isSchemaXSD(String s) {        for (int i=0; i<URIS_SCHEMA_XSD.length; i++) {            if (URIS_SCHEMA_XSD[i].equals(s)) {                return true;            }        }        return false;    }    //    // 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[] URIS_SCHEMA_XSI = {        URI_1999_SCHEMA_XSI,        URI_2000_SCHEMA_XSI,        URI_2001_SCHEMA_XSI,    };    /**     * Returns true if SchemaXSI Namespace.     *     * @param s  the string of the URI to check     * @return   true if <code>s</code> is a Schema XSI URI, false otherwise     */    public static boolean isSchemaXSI(String s) {        for (int i=0; i<URIS_SCHEMA_XSI.length; i++) {            if (URIS_SCHEMA_XSI[i].equals(s)) {                return true;            }        }        return false;    }    /**     * WSDL Namespace.     */    public static final String NS_URI_WSDL11 =                                 "http://schemas.xmlsoap.org/wsdl/";    public static final String[] NS_URIS_WSDL = {        NS_URI_WSDL11,    };    /**     * Returns true if this is a WSDL Namespace.     *     * @param s  a string of a URI to check     * @return   true if <code>s</code> is a WSDL namespace URI, false otherwise     */    public static boolean isWSDL(String s) {        for (int i=0; i<NS_URIS_WSDL.length; i++) {            if (NS_URIS_WSDL[i].equals(s)) {                return true;            }        }        return false;    }    //    // 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[] NS_URIS_WSDL_SOAP = {        URI_WSDL11_SOAP,        URI_WSDL12_SOAP    };    /**     * Returns true if s is a WSDL SOAP Namespace.     *     * @param s  a string of a URI to check     * @return   true if <code>s</code> matches any of the WSDL SOAP namepace     *              URIs, false otherwise     */    public static boolean isWSDLSOAP(String s) {        for (int i=0; i<NS_URIS_WSDL_SOAP.length; i++) {            if (NS_URIS_WSDL_SOAP[i].equals(s)) {                return true;            }        }        return false;    }    // Axis Mechanism Type    public static final String AXIS_SAX = "Axis SAX Mechanism";    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" ;    public static final String ATTR_ID              = "id" ;    public static final String ATTR_HREF            = "href" ;    public static final String ATTR_REF             = "ref" ;    public static final String ATTR_QNAME           = "qname";    public static final String ATTR_ARRAY_TYPE      = "arrayType";    public static final String ATTR_ITEM_TYPE       = "itemType";    public static final String ATTR_ARRAY_SIZE      = "arraySize";    public static final String ATTR_OFFSET          = "offset";    public static final String ATTR_POSITION        = "position";    public static final String ATTR_TYPE            = "type";    public static final String ATTR_HANDLERINFOCHAIN = "handlerInfoChain";    // Fault Codes    //////////////////////////////////////////////////////////////////////////    public static final String FAULT_CLIENT = "Client";    public static final String FAULT_SERVER_GENERAL =                                                   "Server.generalException";    public static final String FAULT_SERVER_USER =                                                   "Server.userException";    public static final QName FAULT_VERSIONMISMATCH =                                  new QName(URI_SOAP11_ENV, "VersionMismatch");    public static final QName FAULT_MUSTUNDERSTAND =

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -