wssec.wssec10.ObjectFactory Maven / Gradle / Ivy
Show all versions of cxf-systests-ws-security Show documentation
package wssec.wssec10;
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 wssec.wssec10 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:44-05:00")
public class ObjectFactory {
private static final QName _EchoRequest_QNAME = new QName("", "request");
private static final QName _EchoResponseEchoResult_QNAME = new QName("", "echoResult");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: wssec.wssec10
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Echo }
*
* @return
* the new instance of {@link Echo }
*/
public Echo createEcho() {
return new Echo();
}
/**
* Create an instance of {@link EchoResponse }
*
* @return
* the new instance of {@link EchoResponse }
*/
public EchoResponse createEchoResponse() {
return new EchoResponse();
}
/**
* 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 = "", name = "request", scope = Echo.class)
public JAXBElement createEchoRequest(String value) {
return new JAXBElement<>(_EchoRequest_QNAME, String.class, Echo.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 = "", name = "echoResult", scope = EchoResponse.class)
public JAXBElement createEchoResponseEchoResult(String value) {
return new JAXBElement<>(_EchoResponseEchoResult_QNAME, String.class, EchoResponse.class, value);
}
}