com.helger.regrep.query.ObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ph-regrep Show documentation
Show all versions of ph-regrep Show documentation
Library for reading and writing OASIS RegRep documents
package com.helger.regrep.query;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.helger.commons.annotation.CodingStyleguideUnaware;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.helger.regrep.query 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.
This class was annotated by ph-jaxb22-plugin -Xph-annotate
*
*
*/
@XmlRegistry
@CodingStyleguideUnaware
public class ObjectFactory {
public final static QName _ResponseOption_QNAME = new QName("urn:oasis:names:tc:ebxml-regrep:xsd:query:4.0", "ResponseOption");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.regrep.query
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ResponseOptionType }
*
* @return
* The created ResponseOptionType object and never null
.
*/
@Nonnull
public ResponseOptionType createResponseOptionType() {
return new ResponseOptionType();
}
/**
* Create an instance of {@link QueryRequest }
*
* @return
* The created QueryRequest object and never null
.
*/
@Nonnull
public QueryRequest createQueryRequest() {
return new QueryRequest();
}
/**
* Create an instance of {@link QueryResponse }
*
* @return
* The created QueryResponse object and never null
.
*/
@Nonnull
public QueryResponse createQueryResponse() {
return new QueryResponse();
}
/**
* Create an instance of {@link QueryExceptionType }
*
* @return
* The created QueryExceptionType object and never null
.
*/
@Nonnull
public QueryExceptionType createQueryExceptionType() {
return new QueryExceptionType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResponseOptionType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ResponseOptionType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:query:4.0", name = "ResponseOption")
@Nonnull
public JAXBElement createResponseOption(
@Nullable
final ResponseOptionType value) {
return new JAXBElement(_ResponseOption_QNAME, ResponseOptionType.class, null, value);
}
}