com.example.ipo.jaxb.ObjectFactory Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.09.29 at 08:12:33 PM PDT
//
package com.example.ipo.jaxb;
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 com.example.ipo.jaxb 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 _PurchaseOrder_QNAME = new QName("http://www.example.com/IPO", "purchaseOrder");
private final static QName _Note_QNAME = new QName("http://www.example.com/IPO", "note");
private final static QName _Comment_QNAME = new QName("http://www.example.com/IPO", "comment");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.example.ipo.jaxb
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Note }
*
*/
public Note createNote() {
return new Note();
}
/**
* Create an instance of {@link Items.Item }
*
*/
public Items.Item createItemsItem() {
return new Items.Item();
}
/**
* Create an instance of {@link UKAddress }
*
*/
public UKAddress createUKAddress() {
return new UKAddress();
}
/**
* Create an instance of {@link USAddress }
*
*/
public USAddress createUSAddress() {
return new USAddress();
}
/**
* Create an instance of {@link Address }
*
*/
public Address createAddress() {
return new Address();
}
/**
* Create an instance of {@link Items }
*
*/
public Items createItems() {
return new Items();
}
/**
* Create an instance of {@link PurchaseOrderType }
*
*/
public PurchaseOrderType createPurchaseOrderType() {
return new PurchaseOrderType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PurchaseOrderType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.example.com/IPO", name = "purchaseOrder")
public JAXBElement createPurchaseOrder(PurchaseOrderType value) {
return new JAXBElement(_PurchaseOrder_QNAME, PurchaseOrderType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Note }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.example.com/IPO", name = "note")
public JAXBElement createNote(Note value) {
return new JAXBElement(_Note_QNAME, Note.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.example.com/IPO", name = "comment")
public JAXBElement createComment(String value) {
return new JAXBElement(_Comment_QNAME, String.class, null, value);
}
}