01: package org.objectweb.celtix.bus.ws.addressing;
02:
03: import org.objectweb.celtix.ws.addressing.AddressingBuilder;
04: import org.objectweb.celtix.ws.addressing.AddressingConstants;
05: import org.objectweb.celtix.ws.addressing.AddressingProperties;
06:
07: /**
08: * Factory for WS-Addressing elements.
09: * <p>
10: * Note that the JAXB generated types are used directly to represent
11: * WS-Addressing schema types. Hence there are no factory methods defined
12: * on this class for those types, as they may be instanted in the normal
13: * way via the JAXB generated ObjectFactory.
14: */
15: public class AddressingBuilderImpl extends AddressingBuilder {
16:
17: public AddressingBuilderImpl() {
18: }
19:
20: //--AddressingType implementation
21:
22: /**
23: * @return WS-Addressing namespace URI
24: */
25: public String getNamespaceURI() {
26: return Names.WSA_NAMESPACE_NAME;
27: }
28:
29: //--AddresingBuilder implementation
30:
31: /**
32: * AddressingProperties factory method.
33: *
34: * @return a new AddressingProperties instance
35: */
36: public AddressingProperties newAddressingProperties() {
37: return new AddressingPropertiesImpl();
38: }
39:
40: /**
41: * AddressingConstants factory method.
42: *
43: * @return an AddressingConstants instance
44: */
45: public AddressingConstants newAddressingConstants() {
46: return new AddressingConstantsImpl();
47: }
48: }
|