01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */package org.apache.cxf.ws.addressing.policy;
19:
20: import javax.xml.namespace.QName;
21:
22: /**
23: *
24: */
25: public final class MetadataConstants {
26:
27: public static final String NAMESPACE_URI = "http://www.w3.org/2007/02/addressing/metadata";
28: public static final String ADDRESSING_ELEM_NAME = "Addressing";
29: public static final String ANON_RESPONSES_ELEM_NAME = "AnonymousResponses";
30: public static final String NON_ANON_RESPONSES_ELEM_NAME = "NonAnonymousResponses";
31: public static final String USING_ADDRESSING_ELEM_NAME = "UsingAddressing";
32:
33: public static final String ADDR_POLICY_2004_NAMESPACE_URI = "http://schemas.xmlsoap.org/ws/2004/08/addressing/policy";
34: public static final String ADDR_WSDL_2005_NAMESPACE_URI = "http://www.w3.org/2005/02/addressing/wsdl";
35: public static final String ADDR_WSDL_2006_NAMESPACE_URI = "http://www.w3.org/2006/05/addressing/wsdl";
36:
37: public static final QName ADDRESSING_ASSERTION_QNAME = new QName(
38: NAMESPACE_URI, ADDRESSING_ELEM_NAME);
39: public static final QName ANON_RESPONSES_ASSERTION_QNAME = new QName(
40: NAMESPACE_URI, ANON_RESPONSES_ELEM_NAME);
41: public static final QName NON_ANON_RESPONSES_ASSERTION_QNAME = new QName(
42: NAMESPACE_URI, NON_ANON_RESPONSES_ELEM_NAME);
43:
44: public static final QName USING_ADDRESSING_2004_QNAME = new QName(
45: ADDR_POLICY_2004_NAMESPACE_URI, USING_ADDRESSING_ELEM_NAME);
46: public static final QName USING_ADDRESSING_2005_QNAME = new QName(
47: ADDR_WSDL_2005_NAMESPACE_URI, USING_ADDRESSING_ELEM_NAME);
48: public static final QName USING_ADDRESSING_2006_QNAME = new QName(
49: ADDR_WSDL_2006_NAMESPACE_URI, USING_ADDRESSING_ELEM_NAME);
50:
51: private MetadataConstants() {
52: }
53:
54: }
|