ObjectFactory.javaAPI DocExample9151Tue May 29 16:57:14 BST


public class ObjectFactory extends Object
This object contains factory methods for each Java content interface and Java element interface generated in the 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.

Fields Summary
private static final QName
private static final QName
private static final QName
private static final QName
private static final QName
private static final QName
private static final QName
private static final QName
private static final QName
Constructors Summary
public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package:

Methods Summary
public javax.xml.bind.JAXBElementcreateCloseChannel(CloseChannel value)
Create an instance of {@link JAXBElement }{@code <}{@link CloseChannel }{@code >}}

        return new JAXBElement<CloseChannel>(_CloseChannel_QNAME, CloseChannel.class, null, value);
public CloseChannelcreateCloseChannel()
Create an instance of {@link CloseChannel }

        return new CloseChannel();
public javax.xml.bind.JAXBElementcreateCloseChannelResponse(CloseChannelResponse value)
Create an instance of {@link JAXBElement }{@code <}{@link CloseChannelResponse }{@code >}}

        return new JAXBElement<CloseChannelResponse>(_CloseChannelResponse_QNAME, CloseChannelResponse.class, null, value);
public CloseChannelResponsecreateCloseChannelResponse()
Create an instance of {@link CloseChannelResponse }

        return new CloseChannelResponse();
public javax.xml.bind.JAXBElementcreateInitiateSession(InitiateSession value)
Create an instance of {@link JAXBElement }{@code <}{@link InitiateSession }{@code >}}

        return new JAXBElement<InitiateSession>(_InitiateSession_QNAME, InitiateSession.class, null, value);
public InitiateSessioncreateInitiateSession()
Create an instance of {@link InitiateSession }

        return new InitiateSession();
public InitiateSessionResponsecreateInitiateSessionResponse()
Create an instance of {@link InitiateSessionResponse }

        return new InitiateSessionResponse();
public javax.xml.bind.JAXBElementcreateInitiateSessionResponse(InitiateSessionResponse value)
Create an instance of {@link JAXBElement }{@code <}{@link InitiateSessionResponse }{@code >}}

        return new JAXBElement<InitiateSessionResponse>(_InitiateSessionResponse_QNAME, InitiateSessionResponse.class, null, value);
public javax.xml.bind.JAXBElementcreateOpenChannel(OpenChannel value)
Create an instance of {@link JAXBElement }{@code <}{@link OpenChannel }{@code >}}

        return new JAXBElement<OpenChannel>(_OpenChannel_QNAME, OpenChannel.class, null, value);
public OpenChannelcreateOpenChannel()
Create an instance of {@link OpenChannel }

        return new OpenChannel();
public javax.xml.bind.JAXBElementcreateOpenChannelResponse(OpenChannelResponse value)
Create an instance of {@link JAXBElement }{@code <}{@link OpenChannelResponse }{@code >}}

        return new JAXBElement<OpenChannelResponse>(_OpenChannelResponse_QNAME, OpenChannelResponse.class, null, value);
public OpenChannelResponsecreateOpenChannelResponse()
Create an instance of {@link OpenChannelResponse }

        return new OpenChannelResponse();
public javax.xml.bind.JAXBElementcreateServiceChannelExceptionBean( value)
Create an instance of {@link JAXBElement }{@code <}{@link ServiceChannelException }{@code >}}

        return new JAXBElement<ServiceChannelExceptionBean>(_ServiceChannelException_QNAME, ServiceChannelExceptionBean.class, null, value);
Create an instance of {@link ServiceChannelException }

        return new ServiceChannelExceptionBean();