org.w3._2003.xinclude.ObjectFactory Maven / Gradle / Ivy
//
// Diese Datei wurde mit der Eclipse Implementation of JAXB, v4.0.2 generiert
// Siehe https://eclipse-ee4j.github.io/jaxb-ri
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
//
package org.w3._2003.xinclude;
import javax.xml.namespace.QName;
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.w3._2003.xinclude 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 {
private static final QName _Include_QNAME = new QName("http://www.w3.org/2003/XInclude", "include");
private static final QName _Fallback_QNAME = new QName("http://www.w3.org/2003/XInclude", "fallback");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2003.xinclude
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link IncludeType }
*
* @return
* the new instance of {@link IncludeType }
*/
public IncludeType createIncludeType() {
return new IncludeType();
}
/**
* Create an instance of {@link FallbackType }
*
* @return
* the new instance of {@link FallbackType }
*/
public FallbackType createFallbackType() {
return new FallbackType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link IncludeType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link IncludeType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.w3.org/2003/XInclude", name = "include")
public JAXBElement createInclude(IncludeType value) {
return new JAXBElement<>(_Include_QNAME, IncludeType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link FallbackType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link FallbackType }{@code >}
*/
@XmlElementDecl(namespace = "http://www.w3.org/2003/XInclude", name = "fallback")
public JAXBElement createFallback(FallbackType value) {
return new JAXBElement<>(_Fallback_QNAME, FallbackType.class, null, value);
}
}