org.apache.cxf.configuration.foo.ObjectFactory Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.04.24 at 05:41:14 PM EDT
//
package org.apache.cxf.configuration.foo;
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 org.apache.cxf.configuration.foo 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 _Foo_QNAME = new QName("http://cxf.apache.org/configuration/foo", "foo");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.cxf.configuration.foo
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Foo }
*
*/
public Foo createFoo() {
return new Foo();
}
/**
* Create an instance of {@link Point }
*
*/
public Point createPoint() {
return new Point();
}
/**
* Create an instance of {@link Foo.Address }
*
*/
public Foo.Address createFooAddress() {
return new Foo.Address();
}
/**
* Create an instance of {@link TpAddress }
*
*/
public TpAddress createTpAddress() {
return new TpAddress();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Foo }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cxf.apache.org/configuration/foo", name = "foo")
public JAXBElement createFoo(Foo value) {
return new JAXBElement(_Foo_QNAME, Foo.class, null, value);
}
}