ObjectFactory.java
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.apache.cxf.abc.test;
import javax.xml.namespace.QName;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.apache.cxf.abc.test package.
* <p>An ObjectFactory allows you to programmatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private static final QName _TestPolicy_QNAME = new QName("http://cxf.apache.org/abc/test", "testPolicy");
private static final QName _AnotherPolicy_QNAME = new QName("http://cxf.apache.org/abc/test", "anotherPolicy");
private static final QName _NewService_QNAME = new QName("http://cxf.apache.org/abc/test", "newService");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.cxf.abc.test
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link TestPolicyType }
*
* @return
* the new instance of {@link TestPolicyType }
*/
public TestPolicyType createTestPolicyType() {
return new TestPolicyType();
}
/**
* Create an instance of {@link AnotherPolicyType }
*
* @return
* the new instance of {@link AnotherPolicyType }
*/
public AnotherPolicyType createAnotherPolicyType() {
return new AnotherPolicyType();
}
/**
* Create an instance of {@link NewServiceType }
*
* @return
* the new instance of {@link NewServiceType }
*/
public NewServiceType createNewServiceType() {
return new NewServiceType();
}
/**
* Create an instance of {@link Struct }
*
* @return
* the new instance of {@link Struct }
*/
public Struct createStruct() {
return new Struct();
}
/**
* Create an instance of {@link MemberType }
*
* @return
* the new instance of {@link MemberType }
*/
public MemberType createMemberType() {
return new MemberType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link TestPolicyType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link TestPolicyType }{@code >}
*/
@XmlElementDecl(namespace = "http://cxf.apache.org/abc/test", name = "testPolicy")
public JAXBElement<TestPolicyType> createTestPolicy(TestPolicyType value) {
return new JAXBElement<>(_TestPolicy_QNAME, TestPolicyType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AnotherPolicyType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link AnotherPolicyType }{@code >}
*/
@XmlElementDecl(namespace = "http://cxf.apache.org/abc/test", name = "anotherPolicy")
public JAXBElement<AnotherPolicyType> createAnotherPolicy(AnotherPolicyType value) {
return new JAXBElement<>(_AnotherPolicy_QNAME, AnotherPolicyType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link NewServiceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link NewServiceType }{@code >}
*/
@XmlElementDecl(namespace = "http://cxf.apache.org/abc/test", name = "newService")
public JAXBElement<NewServiceType> createNewService(NewServiceType value) {
return new JAXBElement<>(_NewService_QNAME, NewServiceType.class, null, value);
}
}