001    
002    package org.apache.camel.example.reportincident;
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.example.reportincident 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 _OutputReportIncident_QNAME = new QName("http://reportincident.example.camel.apache.org", "outputReportIncident");
028        private final static QName _InputReportIncident_QNAME = new QName("http://reportincident.example.camel.apache.org", "inputReportIncident");
029    
030        /**
031         * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.camel.example.reportincident
032         * 
033         */
034        public ObjectFactory() {
035        }
036    
037        /**
038         * Create an instance of {@link OutputReportIncident }
039         * 
040         */
041        public OutputReportIncident createOutputReportIncident() {
042            return new OutputReportIncident();
043        }
044    
045        /**
046         * Create an instance of {@link InputReportIncident }
047         * 
048         */
049        public InputReportIncident createInputReportIncident() {
050            return new InputReportIncident();
051        }
052    
053        /**
054         * Create an instance of {@link JAXBElement }{@code <}{@link OutputReportIncident }{@code >}}
055         * 
056         */
057        @XmlElementDecl(namespace = "http://reportincident.example.camel.apache.org", name = "outputReportIncident")
058        public JAXBElement<OutputReportIncident> createOutputReportIncident(OutputReportIncident value) {
059            return new JAXBElement<OutputReportIncident>(_OutputReportIncident_QNAME, OutputReportIncident.class, null, value);
060        }
061    
062        /**
063         * Create an instance of {@link JAXBElement }{@code <}{@link InputReportIncident }{@code >}}
064         * 
065         */
066        @XmlElementDecl(namespace = "http://reportincident.example.camel.apache.org", name = "inputReportIncident")
067        public JAXBElement<InputReportIncident> createInputReportIncident(InputReportIncident value) {
068            return new JAXBElement<InputReportIncident>(_InputReportIncident_QNAME, InputReportIncident.class, null, value);
069        }
070    
071    }