org.isotc211._2005.gco.ObjectFactory Maven / Gradle / Ivy
Show all versions of energyml-prodml20 Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.0
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.13 at 08:02:05 PM UTC
//
package org.isotc211._2005.gco;
import javax.xml.datatype.XMLGregorianCalendar;
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.isotc211._2005.gco 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 final static QName _CharacterString_QNAME = new QName("http://www.isotc211.org/2005/gco", "CharacterString");
private final static QName _Boolean_QNAME = new QName("http://www.isotc211.org/2005/gco", "Boolean");
private final static QName _Real_QNAME = new QName("http://www.isotc211.org/2005/gco", "Real");
private final static QName _Date_QNAME = new QName("http://www.isotc211.org/2005/gco", "Date");
private final static QName _DateTime_QNAME = new QName("http://www.isotc211.org/2005/gco", "DateTime");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.isotc211._2005.gco
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link CodeListValueType }
*
*/
public CodeListValueType createCodeListValueType() {
return new CodeListValueType();
}
/**
* Create an instance of {@link CharacterStringPropertyType }
*
*/
public CharacterStringPropertyType createCharacterStringPropertyType() {
return new CharacterStringPropertyType();
}
/**
* Create an instance of {@link BooleanPropertyType }
*
*/
public BooleanPropertyType createBooleanPropertyType() {
return new BooleanPropertyType();
}
/**
* Create an instance of {@link RealPropertyType }
*
*/
public RealPropertyType createRealPropertyType() {
return new RealPropertyType();
}
/**
* Create an instance of {@link DatePropertyType }
*
*/
public DatePropertyType createDatePropertyType() {
return new DatePropertyType();
}
/**
* Create an instance of {@link DateTimePropertyType }
*
*/
public DateTimePropertyType createDateTimePropertyType() {
return new DateTimePropertyType();
}
/**
* 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.isotc211.org/2005/gco", name = "CharacterString")
public JAXBElement createCharacterString(String value) {
return new JAXBElement(_CharacterString_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}
*/
@XmlElementDecl(namespace = "http://www.isotc211.org/2005/gco", name = "Boolean")
public JAXBElement createBoolean(Boolean value) {
return new JAXBElement(_Boolean_QNAME, Boolean.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Double }{@code >}
*/
@XmlElementDecl(namespace = "http://www.isotc211.org/2005/gco", name = "Real")
public JAXBElement createReal(Double value) {
return new JAXBElement(_Real_QNAME, Double.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.isotc211.org/2005/gco", name = "Date")
public JAXBElement createDate(String value) {
return new JAXBElement(_Date_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
*/
@XmlElementDecl(namespace = "http://www.isotc211.org/2005/gco", name = "DateTime")
public JAXBElement createDateTime(XMLGregorianCalendar value) {
return new JAXBElement(_DateTime_QNAME, XMLGregorianCalendar.class, null, value);
}
}