| 1 |
/* |
| 2 |
* Copyright 2001-2004 The Apache Software Foundation. |
| 3 |
* |
| 4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
* you may not use this file except in compliance with the License. |
| 6 |
* You may obtain a copy of the License at |
| 7 |
* |
| 8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
* |
| 10 |
* Unless required by applicable law or agreed to in writing, software |
| 11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
* See the License for the specific language governing permissions and |
| 14 |
* limitations under the License. |
| 15 |
*/ |
| 16 |
package javax.xml.rpc; |
| 17 |
|
| 18 |
/** |
| 19 |
* Constants used in JAX-RPC for namespace prefixes and URIs. |
| 20 |
* |
| 21 |
* @version 1.0 |
| 22 |
*/ |
| 23 |
public class NamespaceConstants { |
| 24 |
// fixme: we should have a private constructor and/or be final |
| 25 |
|
| 26 |
/** |
| 27 |
* Constructor NamespaceConstants. |
| 28 |
*/ |
| 29 |
public NamespaceConstants() {} |
| 30 |
|
| 31 |
/** Namespace prefix for SOAP Envelope. */ |
| 32 |
public static final String NSPREFIX_SOAP_ENVELOPE = "soapenv"; |
| 33 |
|
| 34 |
/** Namespace prefix for SOAP Encoding. */ |
| 35 |
public static final String NSPREFIX_SOAP_ENCODING = "soapenc"; |
| 36 |
|
| 37 |
/** Namespace prefix for XML schema XSD. */ |
| 38 |
public static final String NSPREFIX_SCHEMA_XSD = "xsd"; |
| 39 |
|
| 40 |
/** Namespace prefix for XML Schema XSI. */ |
| 41 |
public static final String NSPREFIX_SCHEMA_XSI = "xsi"; |
| 42 |
|
| 43 |
/** Nameapace URI for SOAP 1.1 Envelope. */ |
| 44 |
public static final String NSURI_SOAP_ENVELOPE = |
| 45 |
"http://schemas.xmlsoap.org/soap/envelope/"; |
| 46 |
|
| 47 |
/** Nameapace URI for SOAP 1.1 Encoding. */ |
| 48 |
public static final String NSURI_SOAP_ENCODING = |
| 49 |
"http://schemas.xmlsoap.org/soap/encoding/"; |
| 50 |
|
| 51 |
/** Nameapace URI for SOAP 1.1 next actor role. */ |
| 52 |
public static final String NSURI_SOAP_NEXT_ACTOR = |
| 53 |
"http://schemas.xmlsoap.org/soap/actor/next"; |
| 54 |
|
| 55 |
/** Namespace URI for XML Schema XSD. */ |
| 56 |
public static final String NSURI_SCHEMA_XSD = |
| 57 |
"http://www.w3.org/2001/XMLSchema"; |
| 58 |
|
| 59 |
/** Namespace URI for XML Schema XSI. */ |
| 60 |
public static final String NSURI_SCHEMA_XSI = |
| 61 |
"http://www.w3.org/2001/XMLSchema-instance"; |
| 62 |
} |
| 63 |
|