View Javadoc
1   
2   package org.oasis_open.docs.wsrf.bf_2;
3   
4   import javax.xml.bind.JAXBElement;
5   import javax.xml.bind.annotation.XmlElementDecl;
6   import javax.xml.bind.annotation.XmlRegistry;
7   import javax.xml.namespace.QName;
8   
9   
10  /**
11   * This object contains factory methods for each 
12   * Java content interface and Java element interface 
13   * generated in the org.oasis_open.docs.wsrf.bf_2 package. 
14   * <p>An ObjectFactory allows you to programatically 
15   * construct new instances of the Java representation 
16   * for XML content. The Java representation of XML 
17   * content can consist of schema derived interfaces 
18   * and classes representing the binding of schema 
19   * type definitions, element declarations and model 
20   * groups.  Factory methods for each of these are 
21   * provided in this class.
22   * 
23   */
24  @XmlRegistry
25  public class ObjectFactory {
26  
27      private final static QName _BaseFault_QNAME = new QName("http://docs.oasis-open.org/wsrf/bf-2", "BaseFault");
28  
29      /**
30       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.oasis_open.docs.wsrf.bf_2
31       * 
32       */
33      public ObjectFactory() {
34      }
35  
36      /**
37       * Create an instance of {@link BaseFaultType.Description }
38       * 
39       */
40      public BaseFaultType.Description createBaseFaultTypeDescription() {
41          return new BaseFaultType.Description();
42      }
43  
44      /**
45       * Create an instance of {@link BaseFaultType.FaultCause }
46       * 
47       */
48      public BaseFaultType.FaultCause createBaseFaultTypeFaultCause() {
49          return new BaseFaultType.FaultCause();
50      }
51  
52      /**
53       * Create an instance of {@link BaseFaultType }
54       * 
55       */
56      public BaseFaultType createBaseFaultType() {
57          return new BaseFaultType();
58      }
59  
60      /**
61       * Create an instance of {@link BaseFaultType.ErrorCode }
62       * 
63       */
64      public BaseFaultType.ErrorCode createBaseFaultTypeErrorCode() {
65          return new BaseFaultType.ErrorCode();
66      }
67  
68      /**
69       * Create an instance of {@link JAXBElement }{@code <}{@link BaseFaultType }{@code >}}
70       * 
71       */
72      @XmlElementDecl(namespace = "http://docs.oasis-open.org/wsrf/bf-2", name = "BaseFault")
73      public JAXBElement<BaseFaultType> createBaseFault(BaseFaultType value) {
74          return new JAXBElement<BaseFaultType>(_BaseFault_QNAME, BaseFaultType.class, null, value);
75      }
76  
77  }