All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jabber.iq.rpc.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 jabber.iq.rpc;

import java.math.BigDecimal;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import ietf.params.xml.ns.xmpp_stanzas.runtime.ZeroOneBooleanAdapter;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the jabber.iq.rpc 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 _ValueTypeI4_QNAME = new QName("jabber:iq:rpc", "i4"); private final static QName _ValueTypeInt_QNAME = new QName("jabber:iq:rpc", "int"); private final static QName _ValueTypeString_QNAME = new QName("jabber:iq:rpc", "string"); private final static QName _ValueTypeDouble_QNAME = new QName("jabber:iq:rpc", "double"); private final static QName _ValueTypeBase64_QNAME = new QName("jabber:iq:rpc", "base64"); private final static QName _ValueTypeBoolean_QNAME = new QName("jabber:iq:rpc", "boolean"); private final static QName _ValueTypeDateTimeIso8601_QNAME = new QName("jabber:iq:rpc", "dateTime.iso8601"); private final static QName _ValueTypeArray_QNAME = new QName("jabber:iq:rpc", "array"); private final static QName _ValueTypeStruct_QNAME = new QName("jabber:iq:rpc", "struct"); private final static QName _MethodResponseFaultValueStructMember_QNAME = new QName("jabber:iq:rpc", "member"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: jabber.iq.rpc * */ public ObjectFactory() { } /** * Create an instance of {@link MethodCall } * */ public MethodCall createMethodCall() { return new MethodCall(); } /** * Create an instance of {@link MethodResponse } * */ public MethodResponse createMethodResponse() { return new MethodResponse(); } /** * Create an instance of {@link ArrayType } * */ public ArrayType createArrayType() { return new ArrayType(); } /** * Create an instance of {@link MethodResponse.Fault } * */ public MethodResponse.Fault createMethodResponseFault() { return new MethodResponse.Fault(); } /** * Create an instance of {@link MethodResponse.Fault.Value } * */ public MethodResponse.Fault.Value createMethodResponseFaultValue() { return new MethodResponse.Fault.Value(); } /** * Create an instance of {@link Query } * */ public Query createQuery() { return new Query(); } /** * Create an instance of {@link MethodCall.Params } * */ public MethodCall.Params createMethodCallParams() { return new MethodCall.Params(); } /** * Create an instance of {@link MethodResponse.Params } * */ public MethodResponse.Params createMethodResponseParams() { return new MethodResponse.Params(); } /** * Create an instance of {@link ParamType } * */ public ParamType createParamType() { return new ParamType(); } /** * Create an instance of {@link ValueType } * */ public ValueType createValueType() { return new ValueType(); } /** * Create an instance of {@link StructType } * */ public StructType createStructType() { return new StructType(); } /** * Create an instance of {@link MemberType } * */ public MemberType createMemberType() { return new MemberType(); } /** * Create an instance of {@link ArrayType.Data } * */ public ArrayType.Data createArrayTypeData() { return new ArrayType.Data(); } /** * Create an instance of {@link MethodResponse.Fault.Value.Struct } * */ public MethodResponse.Fault.Value.Struct createMethodResponseFaultValueStruct() { return new MethodResponse.Fault.Value.Struct(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "i4", scope = ValueType.class) public JAXBElement createValueTypeI4(Integer value) { return new JAXBElement(_ValueTypeI4_QNAME, Integer.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "int", scope = ValueType.class) public JAXBElement createValueTypeInt(Integer value) { return new JAXBElement(_ValueTypeInt_QNAME, Integer.class, ValueType.class, 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 = "jabber:iq:rpc", name = "string", scope = ValueType.class) public JAXBElement createValueTypeString(String value) { return new JAXBElement(_ValueTypeString_QNAME, String.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "double", scope = ValueType.class) public JAXBElement createValueTypeDouble(BigDecimal value) { return new JAXBElement(_ValueTypeDouble_QNAME, BigDecimal.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "base64", scope = ValueType.class) public JAXBElement createValueTypeBase64(byte[] value) { return new JAXBElement(_ValueTypeBase64_QNAME, byte[].class, ValueType.class, ((byte[]) value)); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "boolean", scope = ValueType.class) @XmlJavaTypeAdapter(ZeroOneBooleanAdapter.class) public JAXBElement createValueTypeBoolean(Boolean value) { return new JAXBElement(_ValueTypeBoolean_QNAME, Boolean.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "dateTime.iso8601", scope = ValueType.class) public JAXBElement createValueTypeDateTimeIso8601(XMLGregorianCalendar value) { return new JAXBElement(_ValueTypeDateTimeIso8601_QNAME, XMLGregorianCalendar.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ArrayType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ArrayType }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "array", scope = ValueType.class) public JAXBElement createValueTypeArray(ArrayType value) { return new JAXBElement(_ValueTypeArray_QNAME, ArrayType.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link StructType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link StructType }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "struct", scope = ValueType.class) public JAXBElement createValueTypeStruct(StructType value) { return new JAXBElement(_ValueTypeStruct_QNAME, StructType.class, ValueType.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link MemberType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link MemberType }{@code >} */ @XmlElementDecl(namespace = "jabber:iq:rpc", name = "member", scope = MethodResponse.Fault.Value.Struct.class) public JAXBElement createMethodResponseFaultValueStructMember(MemberType value) { return new JAXBElement(_MethodResponseFaultValueStructMember_QNAME, MemberType.class, MethodResponse.Fault.Value.Struct.class, value); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy