org.jabber.protocol.commands.ObjectFactory Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.04 at 01:10:24 PM KST
//
package org.jabber.protocol.commands;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.jabber.protocol.commands package.
* An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _BadAction_QNAME = new QName("http://jabber.org/protocol/commands", "bad-action");
private final static QName _BadLocale_QNAME = new QName("http://jabber.org/protocol/commands", "bad-locale");
private final static QName _BadPayload_QNAME = new QName("http://jabber.org/protocol/commands", "bad-payload");
private final static QName _BadSessionid_QNAME = new QName("http://jabber.org/protocol/commands", "bad-sessionid");
private final static QName _MalformedAction_QNAME = new QName("http://jabber.org/protocol/commands", "malformed-action");
private final static QName _SessionExpired_QNAME = new QName("http://jabber.org/protocol/commands", "session-expired");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jabber.protocol.commands
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Command }
*
*/
public Command createCommand() {
return new Command();
}
/**
* Create an instance of {@link Actions }
*
*/
public Actions createActions() {
return new Actions();
}
/**
* Create an instance of {@link Note }
*
*/
public Note createNote() {
return new Note();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://jabber.org/protocol/commands", name = "bad-action")
public JAXBElement createBadAction(String value) {
return new JAXBElement(_BadAction_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://jabber.org/protocol/commands", name = "bad-locale")
public JAXBElement createBadLocale(String value) {
return new JAXBElement(_BadLocale_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://jabber.org/protocol/commands", name = "bad-payload")
public JAXBElement createBadPayload(String value) {
return new JAXBElement(_BadPayload_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://jabber.org/protocol/commands", name = "bad-sessionid")
public JAXBElement createBadSessionid(String value) {
return new JAXBElement(_BadSessionid_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://jabber.org/protocol/commands", name = "malformed-action")
public JAXBElement createMalformedAction(String value) {
return new JAXBElement(_MalformedAction_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
*/
@XmlElementDecl(namespace = "http://jabber.org/protocol/commands", name = "session-expired")
public JAXBElement createSessionExpired(String value) {
return new JAXBElement(_SessionExpired_QNAME, String.class, null, value);
}
}