001    
002    package org.apache.camel.cxf.mtom_feature.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.cxf.mtom_feature.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 _DetailResponse_QNAME = new QName("http://apache.org/camel/cxf/mtom_feature/types", "DetailResponse");
028        private final static QName _Data_QNAME = new QName("http://apache.org/camel/cxf/mtom_feature/types", "data");
029        private final static QName _Detail_QNAME = new QName("http://apache.org/camel/cxf/mtom_feature/types", "Detail");
030    
031        /**
032         * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.camel.cxf.mtom_feature.types
033         * 
034         */
035        public ObjectFactory() {
036        }
037    
038        /**
039         * Create an instance of {@link DetailType }
040         * 
041         */
042        public DetailType createDetailType() {
043            return new DetailType();
044        }
045    
046        /**
047         * Create an instance of {@link JAXBElement }{@code <}{@link DetailType }{@code >}}
048         * 
049         */
050        @XmlElementDecl(namespace = "http://apache.org/camel/cxf/mtom_feature/types", name = "DetailResponse")
051        public JAXBElement<DetailType> createDetailResponse(DetailType value) {
052            return new JAXBElement<DetailType>(_DetailResponse_QNAME, DetailType.class, null, value);
053        }
054    
055        /**
056         * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
057         * 
058         */
059        @XmlElementDecl(namespace = "http://apache.org/camel/cxf/mtom_feature/types", name = "data")
060        public JAXBElement<byte[]> createData(byte[] value) {
061            return new JAXBElement<byte[]>(_Data_QNAME, byte[].class, null, ((byte[]) value));
062        }
063    
064        /**
065         * Create an instance of {@link JAXBElement }{@code <}{@link DetailType }{@code >}}
066         * 
067         */
068        @XmlElementDecl(namespace = "http://apache.org/camel/cxf/mtom_feature/types", name = "Detail")
069        public JAXBElement<DetailType> createDetail(DetailType value) {
070            return new JAXBElement<DetailType>(_Detail_QNAME, DetailType.class, null, value);
071        }
072    
073    }