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.server;
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.server 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 _Thread_QNAME = new QName("jabber:server", "thread");
037 private final static QName _Priority_QNAME = new QName("jabber:server", "priority");
038 private final static QName _Show_QNAME = new QName("jabber:server", "show");
039
040 /**
041 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: jabber.server
042 *
043 */
044 public ObjectFactory() {
045 }
046
047 /**
048 * Create an instance of {@link Error }
049 *
050 */
051 public Error createError() {
052 return new Error();
053 }
054
055 /**
056 * Create an instance of {@link Status }
057 *
058 */
059 public Status createStatus() {
060 return new Status();
061 }
062
063 /**
064 * Create an instance of {@link Message }
065 *
066 */
067 public Message createMessage() {
068 return new Message();
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 Body }
081 *
082 */
083 public Body createBody() {
084 return new Body();
085 }
086
087 /**
088 * Create an instance of {@link Iq }
089 *
090 */
091 public Iq createIq() {
092 return new Iq();
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:server", name = "thread")
108 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
109 public JAXBElement<String> createThread(String value) {
110 return new JAXBElement<String>(_Thread_QNAME, String.class, null, value);
111 }
112
113 /**
114 * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}}
115 *
116 */
117 @XmlElementDecl(namespace = "jabber:server", name = "priority")
118 public JAXBElement<Byte> createPriority(Byte value) {
119 return new JAXBElement<Byte>(_Priority_QNAME, Byte.class, null, value);
120 }
121
122 /**
123 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
124 *
125 */
126 @XmlElementDecl(namespace = "jabber:server", name = "show")
127 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
128 public JAXBElement<String> createShow(String value) {
129 return new JAXBElement<String>(_Show_QNAME, String.class, null, value);
130 }
131
132 }