001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2013.02.07 at 02:32:38 PM CET 
006    //
007    
008    
009    package jabber.client;
010    
011    import javax.xml.bind.JAXBElement;
012    import javax.xml.bind.annotation.XmlElementDecl;
013    import javax.xml.bind.annotation.XmlRegistry;
014    import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
015    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
016    import javax.xml.namespace.QName;
017    
018    
019    /**
020     * This object contains factory methods for each 
021     * Java content interface and Java element interface 
022     * generated in the jabber.client package. 
023     * <p>An ObjectFactory allows you to programatically 
024     * construct new instances of the Java representation 
025     * for XML content. The Java representation of XML 
026     * content can consist of schema derived interfaces 
027     * and classes representing the binding of schema 
028     * type definitions, element declarations and model 
029     * groups.  Factory methods for each of these are 
030     * provided in this class.
031     * 
032     */
033    @XmlRegistry
034    public class ObjectFactory {
035    
036        private final static QName _Show_QNAME = new QName("jabber:client", "show");
037        private final static QName _Thread_QNAME = new QName("jabber:client", "thread");
038        private final static QName _Priority_QNAME = new QName("jabber:client", "priority");
039    
040        /**
041         * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: jabber.client
042         * 
043         */
044        public ObjectFactory() {
045        }
046    
047        /**
048         * Create an instance of {@link Status }
049         * 
050         */
051        public Status createStatus() {
052            return new Status();
053        }
054    
055        /**
056         * Create an instance of {@link Body }
057         * 
058         */
059        public Body createBody() {
060            return new Body();
061        }
062    
063        /**
064         * Create an instance of {@link Error }
065         * 
066         */
067        public Error createError() {
068            return new Error();
069        }
070    
071        /**
072         * Create an instance of {@link Presence }
073         * 
074         */
075        public Presence createPresence() {
076            return new Presence();
077        }
078    
079        /**
080         * Create an instance of {@link Iq }
081         * 
082         */
083        public Iq createIq() {
084            return new Iq();
085        }
086    
087        /**
088         * Create an instance of {@link Message }
089         * 
090         */
091        public Message createMessage() {
092            return new Message();
093        }
094    
095        /**
096         * Create an instance of {@link Subject }
097         * 
098         */
099        public Subject createSubject() {
100            return new Subject();
101        }
102    
103        /**
104         * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
105         * 
106         */
107        @XmlElementDecl(namespace = "jabber:client", name = "show")
108        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
109        public JAXBElement<String> createShow(String value) {
110            return new JAXBElement<String>(_Show_QNAME, String.class, null, value);
111        }
112    
113        /**
114         * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
115         * 
116         */
117        @XmlElementDecl(namespace = "jabber:client", name = "thread")
118        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
119        public JAXBElement<String> createThread(String value) {
120            return new JAXBElement<String>(_Thread_QNAME, String.class, null, value);
121        }
122    
123        /**
124         * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
125         * 
126         */
127        @XmlElementDecl(namespace = "jabber:client", name = "priority")
128        public JAXBElement<Byte> createPriority(Byte value) {
129            return new JAXBElement<Byte>(_Priority_QNAME, Byte.class, null, value);
130        }
131    
132    }