org.jabber.protocol.pubsub_errors.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.pubsub_errors;
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.pubsub_errors 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 _ClosedNode_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "closed-node");
private final static QName _ConfigurationRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "configuration-required");
private final static QName _InvalidJid_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "invalid-jid");
private final static QName _InvalidOptions_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "invalid-options");
private final static QName _InvalidPayload_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "invalid-payload");
private final static QName _InvalidSubid_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "invalid-subid");
private final static QName _ItemForbidden_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "item-forbidden");
private final static QName _ItemRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "item-required");
private final static QName _JidRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "jid-required");
private final static QName _MaxItemsExceeded_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "max-items-exceeded");
private final static QName _MaxNodesExceeded_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "max-nodes-exceeded");
private final static QName _NodeidRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "nodeid-required");
private final static QName _NotInRosterGroup_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "not-in-roster-group");
private final static QName _NotSubscribed_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "not-subscribed");
private final static QName _PayloadTooBig_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "payload-too-big");
private final static QName _PayloadRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "payload-required");
private final static QName _PendingSubscription_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "pending-subscription");
private final static QName _PreconditionNotMet_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "precondition-not-met");
private final static QName _PresenceSubscriptionRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "presence-subscription-required");
private final static QName _SubidRequired_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "subid-required");
private final static QName _TooManySubscriptions_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "too-many-subscriptions");
private final static QName _UnsupportedAccessModel_QNAME = new QName("http://jabber.org/protocol/pubsub#errors", "unsupported-access-model");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jabber.protocol.pubsub_errors
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Unsupported }
*
*/
public Unsupported createUnsupported() {
return new Unsupported();
}
/**
* 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/pubsub#errors", name = "closed-node")
public JAXBElement createClosedNode(String value) {
return new JAXBElement(_ClosedNode_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/pubsub#errors", name = "configuration-required")
public JAXBElement createConfigurationRequired(String value) {
return new JAXBElement(_ConfigurationRequired_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/pubsub#errors", name = "invalid-jid")
public JAXBElement createInvalidJid(String value) {
return new JAXBElement(_InvalidJid_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/pubsub#errors", name = "invalid-options")
public JAXBElement createInvalidOptions(String value) {
return new JAXBElement(_InvalidOptions_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/pubsub#errors", name = "invalid-payload")
public JAXBElement createInvalidPayload(String value) {
return new JAXBElement(_InvalidPayload_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/pubsub#errors", name = "invalid-subid")
public JAXBElement createInvalidSubid(String value) {
return new JAXBElement(_InvalidSubid_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/pubsub#errors", name = "item-forbidden")
public JAXBElement createItemForbidden(String value) {
return new JAXBElement(_ItemForbidden_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/pubsub#errors", name = "item-required")
public JAXBElement createItemRequired(String value) {
return new JAXBElement(_ItemRequired_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/pubsub#errors", name = "jid-required")
public JAXBElement createJidRequired(String value) {
return new JAXBElement(_JidRequired_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/pubsub#errors", name = "max-items-exceeded")
public JAXBElement createMaxItemsExceeded(String value) {
return new JAXBElement(_MaxItemsExceeded_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/pubsub#errors", name = "max-nodes-exceeded")
public JAXBElement createMaxNodesExceeded(String value) {
return new JAXBElement(_MaxNodesExceeded_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/pubsub#errors", name = "nodeid-required")
public JAXBElement createNodeidRequired(String value) {
return new JAXBElement(_NodeidRequired_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/pubsub#errors", name = "not-in-roster-group")
public JAXBElement createNotInRosterGroup(String value) {
return new JAXBElement(_NotInRosterGroup_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/pubsub#errors", name = "not-subscribed")
public JAXBElement createNotSubscribed(String value) {
return new JAXBElement(_NotSubscribed_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/pubsub#errors", name = "payload-too-big")
public JAXBElement createPayloadTooBig(String value) {
return new JAXBElement(_PayloadTooBig_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/pubsub#errors", name = "payload-required")
public JAXBElement createPayloadRequired(String value) {
return new JAXBElement(_PayloadRequired_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/pubsub#errors", name = "pending-subscription")
public JAXBElement createPendingSubscription(String value) {
return new JAXBElement(_PendingSubscription_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/pubsub#errors", name = "precondition-not-met")
public JAXBElement createPreconditionNotMet(String value) {
return new JAXBElement(_PreconditionNotMet_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/pubsub#errors", name = "presence-subscription-required")
public JAXBElement createPresenceSubscriptionRequired(String value) {
return new JAXBElement(_PresenceSubscriptionRequired_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/pubsub#errors", name = "subid-required")
public JAXBElement createSubidRequired(String value) {
return new JAXBElement(_SubidRequired_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/pubsub#errors", name = "too-many-subscriptions")
public JAXBElement createTooManySubscriptions(String value) {
return new JAXBElement(_TooManySubscriptions_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/pubsub#errors", name = "unsupported-access-model")
public JAXBElement createUnsupportedAccessModel(String value) {
return new JAXBElement(_UnsupportedAccessModel_QNAME, String.class, null, value);
}
}