com.helger.regrep.rs.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.rs;
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.rs 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 _RegistryRequest_QNAME = new QName("urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0", "RegistryRequest");
public final static QName _RegistryResponse_QNAME = new QName("urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0", "RegistryResponse");
public final static QName _RegistryException_QNAME = new QName("urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0", "RegistryException");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.regrep.rs
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link RegistryRequestType }
*
* @return
* The created RegistryRequestType object and never null
.
*/
@Nonnull
public RegistryRequestType createRegistryRequestType() {
return new RegistryRequestType();
}
/**
* Create an instance of {@link RegistryResponseType }
*
* @return
* The created RegistryResponseType object and never null
.
*/
@Nonnull
public RegistryResponseType createRegistryResponseType() {
return new RegistryResponseType();
}
/**
* Create an instance of {@link RegistryExceptionType }
*
* @return
* The created RegistryExceptionType object and never null
.
*/
@Nonnull
public RegistryExceptionType createRegistryExceptionType() {
return new RegistryExceptionType();
}
/**
* Create an instance of {@link AuthenticationExceptionType }
*
* @return
* The created AuthenticationExceptionType object and never null
.
*/
@Nonnull
public AuthenticationExceptionType createAuthenticationExceptionType() {
return new AuthenticationExceptionType();
}
/**
* Create an instance of {@link AuthorizationExceptionType }
*
* @return
* The created AuthorizationExceptionType object and never null
.
*/
@Nonnull
public AuthorizationExceptionType createAuthorizationExceptionType() {
return new AuthorizationExceptionType();
}
/**
* Create an instance of {@link InvalidRequestExceptionType }
*
* @return
* The created InvalidRequestExceptionType object and never null
.
*/
@Nonnull
public InvalidRequestExceptionType createInvalidRequestExceptionType() {
return new InvalidRequestExceptionType();
}
/**
* Create an instance of {@link ObjectExistsExceptionType }
*
* @return
* The created ObjectExistsExceptionType object and never null
.
*/
@Nonnull
public ObjectExistsExceptionType createObjectExistsExceptionType() {
return new ObjectExistsExceptionType();
}
/**
* Create an instance of {@link ObjectNotFoundExceptionType }
*
* @return
* The created ObjectNotFoundExceptionType object and never null
.
*/
@Nonnull
public ObjectNotFoundExceptionType createObjectNotFoundExceptionType() {
return new ObjectNotFoundExceptionType();
}
/**
* Create an instance of {@link QuotaExceededExceptionType }
*
* @return
* The created QuotaExceededExceptionType object and never null
.
*/
@Nonnull
public QuotaExceededExceptionType createQuotaExceededExceptionType() {
return new QuotaExceededExceptionType();
}
/**
* Create an instance of {@link ReferencesExistExceptionType }
*
* @return
* The created ReferencesExistExceptionType object and never null
.
*/
@Nonnull
public ReferencesExistExceptionType createReferencesExistExceptionType() {
return new ReferencesExistExceptionType();
}
/**
* Create an instance of {@link TimeoutExceptionType }
*
* @return
* The created TimeoutExceptionType object and never null
.
*/
@Nonnull
public TimeoutExceptionType createTimeoutExceptionType() {
return new TimeoutExceptionType();
}
/**
* Create an instance of {@link UnresolvedReferenceExceptionType }
*
* @return
* The created UnresolvedReferenceExceptionType object and never null
.
*/
@Nonnull
public UnresolvedReferenceExceptionType createUnresolvedReferenceExceptionType() {
return new UnresolvedReferenceExceptionType();
}
/**
* Create an instance of {@link UnsupportedCapabilityExceptionType }
*
* @return
* The created UnsupportedCapabilityExceptionType object and never null
.
*/
@Nonnull
public UnsupportedCapabilityExceptionType createUnsupportedCapabilityExceptionType() {
return new UnsupportedCapabilityExceptionType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RegistryRequestType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link RegistryRequestType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0", name = "RegistryRequest")
@Nonnull
public JAXBElement createRegistryRequest(
@Nullable
final RegistryRequestType value) {
return new JAXBElement(_RegistryRequest_QNAME, RegistryRequestType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RegistryResponseType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link RegistryResponseType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0", name = "RegistryResponse")
@Nonnull
public JAXBElement createRegistryResponse(
@Nullable
final RegistryResponseType value) {
return new JAXBElement(_RegistryResponse_QNAME, RegistryResponseType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RegistryExceptionType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link RegistryExceptionType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rs:4.0", name = "RegistryException")
@Nonnull
public JAXBElement createRegistryException(
@Nullable
final RegistryExceptionType value) {
return new JAXBElement(_RegistryException_QNAME, RegistryExceptionType.class, null, value);
}
}