org.bremersee.w3c.atom.ObjectFactory Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.bremersee.w3c.atom;
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.bremersee.w3c.atom 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 _Name_QNAME = new QName("http://www.w3.org/2005/Atom", "name");
private static final QName _Uri_QNAME = new QName("http://www.w3.org/2005/Atom", "uri");
private static final QName _Email_QNAME = new QName("http://www.w3.org/2005/Atom", "email");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.bremersee.w3c.atom
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Author }
*
* @return
* the new instance of {@link Author }
*/
public Author createAuthor() {
return new Author();
}
/**
* Create an instance of {@link Link }
*
* @return
* the new instance of {@link Link }
*/
public Link createLink() {
return new Link();
}
/**
* 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 = "http://www.w3.org/2005/Atom", name = "name")
public JAXBElement createName(String value) {
return new JAXBElement<>(_Name_QNAME, String.class, null, 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 = "http://www.w3.org/2005/Atom", name = "uri")
public JAXBElement createUri(String value) {
return new JAXBElement<>(_Uri_QNAME, String.class, null, 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 = "http://www.w3.org/2005/Atom", name = "email")
public JAXBElement createEmail(String value) {
return new JAXBElement<>(_Email_QNAME, String.class, null, value);
}
}