public class ObjectFactory extends Object
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.
Constructor and Description |
---|
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: jabber.iq.rpc
|
public ObjectFactory()
public MethodCall createMethodCall()
MethodCall
public MethodResponse createMethodResponse()
MethodResponse
public MethodResponse.Fault createMethodResponseFault()
MethodResponse.Fault
public MethodResponse.Fault.Value createMethodResponseFaultValue()
MethodResponse.Fault.Value
public MethodCall.Params createMethodCallParams()
MethodCall.Params
public MethodResponse.Params createMethodResponseParams()
MethodResponse.Params
public StructType createStructType()
StructType
public MemberType createMemberType()
MemberType
public ArrayType.Data createArrayTypeData()
ArrayType.Data
public MethodResponse.Fault.Value.Struct createMethodResponseFaultValueStruct()
MethodResponse.Fault.Value.Struct
public JAXBElement<Integer> createValueTypeI4(Integer value)
value
- Java instance representing xml element's value.JAXBElement
<
Integer
>
public JAXBElement<Integer> createValueTypeInt(Integer value)
value
- Java instance representing xml element's value.JAXBElement
<
Integer
>
public JAXBElement<String> createValueTypeString(String value)
value
- Java instance representing xml element's value.JAXBElement
<
String
>
public JAXBElement<BigDecimal> createValueTypeDouble(BigDecimal value)
value
- Java instance representing xml element's value.JAXBElement
<
BigDecimal
>
public JAXBElement<byte[]> createValueTypeBase64(byte[] value)
value
- Java instance representing xml element's value.JAXBElement
<
byte[]
>
public JAXBElement<Boolean> createValueTypeBoolean(Boolean value)
value
- Java instance representing xml element's value.JAXBElement
<
Boolean
>
public JAXBElement<XMLGregorianCalendar> createValueTypeDateTimeIso8601(XMLGregorianCalendar value)
value
- Java instance representing xml element's value.JAXBElement
<
XMLGregorianCalendar
>
public JAXBElement<ArrayType> createValueTypeArray(ArrayType value)
value
- Java instance representing xml element's value.JAXBElement
<
ArrayType
>
public JAXBElement<StructType> createValueTypeStruct(StructType value)
value
- Java instance representing xml element's value.JAXBElement
<
StructType
>
public JAXBElement<MemberType> createMethodResponseFaultValueStructMember(MemberType value)
value
- Java instance representing xml element's value.JAXBElement
<
MemberType
>
Copyright © 2020. All rights reserved.