001
002 package org.oasis_open.docs.wsrf.bf_2;
003
004 import javax.xml.bind.JAXBElement;
005 import javax.xml.bind.annotation.XmlElementDecl;
006 import javax.xml.bind.annotation.XmlRegistry;
007 import javax.xml.namespace.QName;
008
009
010 /**
011 * This object contains factory methods for each
012 * Java content interface and Java element interface
013 * generated in the org.oasis_open.docs.wsrf.bf_2 package.
014 * <p>An ObjectFactory allows you to programatically
015 * construct new instances of the Java representation
016 * for XML content. The Java representation of XML
017 * content can consist of schema derived interfaces
018 * and classes representing the binding of schema
019 * type definitions, element declarations and model
020 * groups. Factory methods for each of these are
021 * provided in this class.
022 *
023 */
024 @XmlRegistry
025 public class ObjectFactory {
026
027 private final static QName _BaseFault_QNAME = new QName("http://docs.oasis-open.org/wsrf/bf-2", "BaseFault");
028
029 /**
030 * 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
031 *
032 */
033 public ObjectFactory() {
034 }
035
036 /**
037 * Create an instance of {@link BaseFaultType.FaultCause }
038 *
039 */
040 public BaseFaultType.FaultCause createBaseFaultTypeFaultCause() {
041 return new BaseFaultType.FaultCause();
042 }
043
044 /**
045 * Create an instance of {@link BaseFaultType.Description }
046 *
047 */
048 public BaseFaultType.Description createBaseFaultTypeDescription() {
049 return new BaseFaultType.Description();
050 }
051
052 /**
053 * Create an instance of {@link BaseFaultType }
054 *
055 */
056 public BaseFaultType createBaseFaultType() {
057 return new BaseFaultType();
058 }
059
060 /**
061 * Create an instance of {@link BaseFaultType.ErrorCode }
062 *
063 */
064 public BaseFaultType.ErrorCode createBaseFaultTypeErrorCode() {
065 return new BaseFaultType.ErrorCode();
066 }
067
068 /**
069 * Create an instance of {@link JAXBElement }{@code <}{@link BaseFaultType }{@code >}}
070 *
071 */
072 @XmlElementDecl(namespace = "http://docs.oasis-open.org/wsrf/bf-2", name = "BaseFault")
073 public JAXBElement<BaseFaultType> createBaseFault(BaseFaultType value) {
074 return new JAXBElement<BaseFaultType>(_BaseFault_QNAME, BaseFaultType.class, null, value);
075 }
076
077 }