001
002 package org.apache.camel.pizza.types;
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.apache.camel.pizza.types 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 _OrderRequest_QNAME = new QName("http://camel.apache.org/pizza/types", "OrderRequest");
028 private final static QName _CallerIDHeader_QNAME = new QName("http://camel.apache.org/pizza/types", "CallerIDHeader");
029 private final static QName _OrderResponse_QNAME = new QName("http://camel.apache.org/pizza/types", "OrderResponse");
030
031 /**
032 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.camel.pizza.types
033 *
034 */
035 public ObjectFactory() {
036 }
037
038 /**
039 * Create an instance of {@link ToppingsListType }
040 *
041 */
042 public ToppingsListType createToppingsListType() {
043 return new ToppingsListType();
044 }
045
046 /**
047 * Create an instance of {@link OrderPizzaType }
048 *
049 */
050 public OrderPizzaType createOrderPizzaType() {
051 return new OrderPizzaType();
052 }
053
054 /**
055 * Create an instance of {@link OrderPizzaResponseType }
056 *
057 */
058 public OrderPizzaResponseType createOrderPizzaResponseType() {
059 return new OrderPizzaResponseType();
060 }
061
062 /**
063 * Create an instance of {@link CallerIDHeaderType }
064 *
065 */
066 public CallerIDHeaderType createCallerIDHeaderType() {
067 return new CallerIDHeaderType();
068 }
069
070 /**
071 * Create an instance of {@link JAXBElement }{@code <}{@link OrderPizzaType }{@code >}}
072 *
073 */
074 @XmlElementDecl(namespace = "http://camel.apache.org/pizza/types", name = "OrderRequest")
075 public JAXBElement<OrderPizzaType> createOrderRequest(OrderPizzaType value) {
076 return new JAXBElement<OrderPizzaType>(_OrderRequest_QNAME, OrderPizzaType.class, null, value);
077 }
078
079 /**
080 * Create an instance of {@link JAXBElement }{@code <}{@link CallerIDHeaderType }{@code >}}
081 *
082 */
083 @XmlElementDecl(namespace = "http://camel.apache.org/pizza/types", name = "CallerIDHeader")
084 public JAXBElement<CallerIDHeaderType> createCallerIDHeader(CallerIDHeaderType value) {
085 return new JAXBElement<CallerIDHeaderType>(_CallerIDHeader_QNAME, CallerIDHeaderType.class, null, value);
086 }
087
088 /**
089 * Create an instance of {@link JAXBElement }{@code <}{@link OrderPizzaResponseType }{@code >}}
090 *
091 */
092 @XmlElementDecl(namespace = "http://camel.apache.org/pizza/types", name = "OrderResponse")
093 public JAXBElement<OrderPizzaResponseType> createOrderResponse(OrderPizzaResponseType value) {
094 return new JAXBElement<OrderPizzaResponseType>(_OrderResponse_QNAME, OrderPizzaResponseType.class, null, value);
095 }
096
097 }