001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 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: 2011.11.16 at 07:37:02 PM EST 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 _Priority_QNAME = new QName("jabber:client", "priority"); 038 039 /** 040 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: jabber.client 041 * 042 */ 043 public ObjectFactory() { 044 } 045 046 /** 047 * Create an instance of {@link Thread } 048 * 049 */ 050 public Thread createThread() { 051 return new Thread(); 052 } 053 054 /** 055 * Create an instance of {@link Subject } 056 * 057 */ 058 public Subject createSubject() { 059 return new Subject(); 060 } 061 062 /** 063 * Create an instance of {@link Message } 064 * 065 */ 066 public Message createMessage() { 067 return new Message(); 068 } 069 070 /** 071 * Create an instance of {@link Status } 072 * 073 */ 074 public Status createStatus() { 075 return new Status(); 076 } 077 078 /** 079 * Create an instance of {@link Presence } 080 * 081 */ 082 public Presence createPresence() { 083 return new Presence(); 084 } 085 086 /** 087 * Create an instance of {@link Error } 088 * 089 */ 090 public Error createError() { 091 return new Error(); 092 } 093 094 /** 095 * Create an instance of {@link Iq } 096 * 097 */ 098 public Iq createIq() { 099 return new Iq(); 100 } 101 102 /** 103 * Create an instance of {@link Body } 104 * 105 */ 106 public Body createBody() { 107 return new Body(); 108 } 109 110 /** 111 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} 112 * 113 */ 114 @XmlElementDecl(namespace = "jabber:client", name = "show") 115 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 116 public JAXBElement<String> createShow(String value) { 117 return new JAXBElement<String>(_Show_QNAME, String.class, null, value); 118 } 119 120 /** 121 * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >}} 122 * 123 */ 124 @XmlElementDecl(namespace = "jabber:client", name = "priority") 125 public JAXBElement<Byte> createPriority(Byte value) { 126 return new JAXBElement<Byte>(_Priority_QNAME, Byte.class, null, value); 127 } 128 129 }