KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > bus > ws > addressing > AddressingBuilderImpl


1 package org.objectweb.celtix.bus.ws.addressing;
2
3
4 import org.objectweb.celtix.ws.addressing.AddressingBuilder;
5 import org.objectweb.celtix.ws.addressing.AddressingConstants;
6 import org.objectweb.celtix.ws.addressing.AddressingProperties;
7
8
9 /**
10  * Factory for WS-Addressing elements.
11  * <p>
12  * Note that the JAXB generated types are used directly to represent
13  * WS-Addressing schema types. Hence there are no factory methods defined
14  * on this class for those types, as they may be instanted in the normal
15  * way via the JAXB generated ObjectFactory.
16  */

17 public class AddressingBuilderImpl extends AddressingBuilder {
18
19     public AddressingBuilderImpl() {
20     }
21
22     //--AddressingType implementation
23

24     /**
25      * @return WS-Addressing namespace URI
26      */

27     public String JavaDoc getNamespaceURI() {
28         return Names.WSA_NAMESPACE_NAME;
29     }
30
31     //--AddresingBuilder implementation
32

33     /**
34      * AddressingProperties factory method.
35      *
36      * @return a new AddressingProperties instance
37      */

38     public AddressingProperties newAddressingProperties() {
39         return new AddressingPropertiesImpl();
40     }
41     
42     /**
43      * AddressingConstants factory method.
44      *
45      * @return an AddressingConstants instance
46      */

47     public AddressingConstants newAddressingConstants() {
48         return new AddressingConstantsImpl();
49     }
50 }
51
Popular Tags