
org.xmlsoap.ping.ObjectFactory Maven / Gradle / Ivy
package org.xmlsoap.ping;
import javax.xml.namespace.QName;
import jakarta.annotation.Generated;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.xmlsoap.ping package.
* An ObjectFactory allows you to programmatically
* 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
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v4.0.5", date = "2024-12-09T12:44:45-05:00")
public class ObjectFactory {
private static final QName _Ping_QNAME = new QName("http://xmlsoap.org/Ping", "Ping");
private static final QName _PingResponse_QNAME = new QName("http://xmlsoap.org/Ping", "PingResponse");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.xmlsoap.ping
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Ping }
*
* @return
* the new instance of {@link Ping }
*/
public Ping createPing() {
return new Ping();
}
/**
* Create an instance of {@link PingResponseBody }
*
* @return
* the new instance of {@link PingResponseBody }
*/
public PingResponseBody createPingResponseBody() {
return new PingResponseBody();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Ping }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Ping }{@code >}
*/
@XmlElementDecl(namespace = "http://xmlsoap.org/Ping", name = "Ping")
public JAXBElement createPing(Ping value) {
return new JAXBElement<>(_Ping_QNAME, Ping.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PingResponseBody }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link PingResponseBody }{@code >}
*/
@XmlElementDecl(namespace = "http://xmlsoap.org/Ping", name = "PingResponse")
public JAXBElement createPingResponse(PingResponseBody value) {
return new JAXBElement<>(_PingResponse_QNAME, PingResponseBody.class, null, value);
}
}