org.oclc.purl.dsdl.svrl.ObjectFactory Maven / Gradle / Ivy
Show all versions of phloc-schematron Show documentation
package org.oclc.purl.dsdl.svrl;
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;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.oclc.purl.dsdl.svrl 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 {
public final static QName _Text_QNAME = new QName("http://purl.oclc.org/dsdl/svrl", "text");
public final static QName _SchematronOutput_QNAME = new QName("http://purl.oclc.org/dsdl/svrl", "schematron-output");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.oclc.purl.dsdl.svrl
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link SuccessfulReport }
*
* @return
* The created SuccessfulReport object and never null
.
*/
@Nonnull
public SuccessfulReport createSuccessfulReport() {
return new SuccessfulReport();
}
/**
* Create an instance of {@link DiagnosticReference }
*
* @return
* The created DiagnosticReference object and never null
.
*/
@Nonnull
public DiagnosticReference createDiagnosticReference() {
return new DiagnosticReference();
}
/**
* Create an instance of {@link FailedAssert }
*
* @return
* The created FailedAssert object and never null
.
*/
@Nonnull
public FailedAssert createFailedAssert() {
return new FailedAssert();
}
/**
* Create an instance of {@link ActivePattern }
*
* @return
* The created ActivePattern object and never null
.
*/
@Nonnull
public ActivePattern createActivePattern() {
return new ActivePattern();
}
/**
* Create an instance of {@link SchematronOutputType }
*
* @return
* The created SchematronOutputType object and never null
.
*/
@Nonnull
public SchematronOutputType createSchematronOutputType() {
return new SchematronOutputType();
}
/**
* Create an instance of {@link FiredRule }
*
* @return
* The created FiredRule object and never null
.
*/
@Nonnull
public FiredRule createFiredRule() {
return new FiredRule();
}
/**
* Create an instance of {@link NsPrefixInAttributeValues }
*
* @return
* The created NsPrefixInAttributeValues object and never null
.
*/
@Nonnull
public NsPrefixInAttributeValues createNsPrefixInAttributeValues() {
return new NsPrefixInAttributeValues();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://purl.oclc.org/dsdl/svrl", name = "text")
@Nonnull
public JAXBElement createText(
@Nullable
final String value) {
return new JAXBElement(_Text_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SchematronOutputType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://purl.oclc.org/dsdl/svrl", name = "schematron-output")
@Nonnull
public JAXBElement createSchematronOutput(
@Nullable
final SchematronOutputType value) {
return new JAXBElement(_SchematronOutput_QNAME, SchematronOutputType.class, null, value);
}
}