org.apache.servicemix.examples.cxf.ObjectFactory Maven / Gradle / Ivy
package org.apache.servicemix.examples.cxf;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.apache.servicemix.examples.cxf package.
* An ObjectFactory allows you to programatically
* 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 final static QName _SayHiResponse_QNAME = new QName("http://cxf.examples.servicemix.apache.org/", "sayHiResponse");
private final static QName _SayHi_QNAME = new QName("http://cxf.examples.servicemix.apache.org/", "sayHi");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.servicemix.examples.cxf
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link SayHi }
*
*/
public SayHi createSayHi() {
return new SayHi();
}
/**
* Create an instance of {@link SayHiResponse }
*
*/
public SayHiResponse createSayHiResponse() {
return new SayHiResponse();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SayHiResponse }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cxf.examples.servicemix.apache.org/", name = "sayHiResponse")
public JAXBElement createSayHiResponse(SayHiResponse value) {
return new JAXBElement(_SayHiResponse_QNAME, SayHiResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SayHi }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cxf.examples.servicemix.apache.org/", name = "sayHi")
public JAXBElement createSayHi(SayHi value) {
return new JAXBElement(_SayHi_QNAME, SayHi.class, null, value);
}
}