xmpp.sm._3.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 xmpp.sm._3;
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 xmpp.sm._3 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 _R_QNAME = new QName("urn:xmpp:sm:3", "r");
private final static QName _Resume_QNAME = new QName("urn:xmpp:sm:3", "resume");
private final static QName _Resumed_QNAME = new QName("urn:xmpp:sm:3", "resumed");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: xmpp.sm._3
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link A }
*
*/
public A createA() {
return new A();
}
/**
* Create an instance of {@link Enable }
*
*/
public Enable createEnable() {
return new Enable();
}
/**
* Create an instance of {@link Enabled }
*
*/
public Enabled createEnabled() {
return new Enabled();
}
/**
* Create an instance of {@link Failed }
*
*/
public Failed createFailed() {
return new Failed();
}
/**
* Create an instance of {@link ResumptionElementType }
*
*/
public ResumptionElementType createResumptionElementType() {
return new ResumptionElementType();
}
/**
* Create an instance of {@link Sm }
*
*/
public Sm createSm() {
return new Sm();
}
/**
* Create an instance of {@link HandledCountTooHigh }
*
*/
public HandledCountTooHigh createHandledCountTooHigh() {
return new HandledCountTooHigh();
}
/**
* 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 = "urn:xmpp:sm:3", name = "r")
public JAXBElement createR(String value) {
return new JAXBElement(_R_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResumptionElementType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResumptionElementType }{@code >}
*/
@XmlElementDecl(namespace = "urn:xmpp:sm:3", name = "resume")
public JAXBElement createResume(ResumptionElementType value) {
return new JAXBElement(_Resume_QNAME, ResumptionElementType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResumptionElementType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResumptionElementType }{@code >}
*/
@XmlElementDecl(namespace = "urn:xmpp:sm:3", name = "resumed")
public JAXBElement createResumed(ResumptionElementType value) {
return new JAXBElement(_Resumed_QNAME, ResumptionElementType.class, null, value);
}
}