energyml.relationships.ObjectFactory Maven / Gradle / Ivy
//
// 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 07:41:24 PM UTC
//
package energyml.relationships;
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 energyml.relationships 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 _Relationship_QNAME = new QName("http://schemas.openxmlformats.org/package/2006/relationships", "Relationship");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: energyml.relationships
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Relationships }
*
*/
public Relationships createRelationships() {
return new Relationships();
}
/**
* Create an instance of {@link Relationship }
*
*/
public Relationship createRelationship() {
return new Relationship();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Relationship }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Relationship }{@code >}
*/
@XmlElementDecl(namespace = "http://schemas.openxmlformats.org/package/2006/relationships", name = "Relationship")
public JAXBElement createRelationship(Relationship value) {
return new JAXBElement(_Relationship_QNAME, Relationship.class, null, value);
}
}