se.riv.itinfra.tp.pingresponder.v1.ObjectFactory Maven / Gradle / Ivy
package se.riv.itinfra.tp.pingresponder.v1;
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 se.riv.itinfra.tp.pingresponder.v1 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 _PingResponse_QNAME = new QName("urn:riv:itinfra:tp:PingResponder:1", "pingResponse");
private final static QName _Ping_QNAME = new QName("urn:riv:itinfra:tp:PingResponder:1", "ping");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: se.riv.itinfra.tp.pingresponder.v1
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link PingRequestType }
*
*/
public PingRequestType createPingRequestType() {
return new PingRequestType();
}
/**
* Create an instance of {@link PingResponseType }
*
*/
public PingResponseType createPingResponseType() {
return new PingResponseType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PingResponseType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:riv:itinfra:tp:PingResponder:1", name = "pingResponse")
public JAXBElement createPingResponse(PingResponseType value) {
return new JAXBElement(_PingResponse_QNAME, PingResponseType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PingRequestType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:riv:itinfra:tp:PingResponder:1", name = "ping")
public JAXBElement createPing(PingRequestType value) {
return new JAXBElement(_Ping_QNAME, PingRequestType.class, null, value);
}
}