01: package org.objectweb.celtix.bus.ws.policy;
02:
03: import javax.xml.namespace.QName;
04:
05: import org.objectweb.celtix.ws.policy.PolicyConstants;
06:
07: /**
08: * Encapsulation of version specific WS-Policy constants.
09: */
10: public class PolicyConstantsImpl implements PolicyConstants {
11:
12: public PolicyConstantsImpl() {
13: }
14:
15: public String getNamespaceURI() {
16: return Names.WSP_NAMESPACE_NAME;
17: }
18:
19: public String getWSUNamespaceURI() {
20: return Names.WSU_NAMESPACE_NAME;
21: }
22:
23: public QName getPolicyQName() {
24: return Names.WSP_POLICY_QNAME;
25: }
26:
27: public QName getPolicyReferenceQName() {
28: return Names.WSP_POLICY_REFERENCE_QNAME;
29: }
30:
31: }
|