alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (ObjectFactory.java)

This example Java source code file (ObjectFactory.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

jaxbelement, metroconfig, objectfactory, qname, tubefactoryconfig, tubefactorylist, tubelinedefinition, tubelinemapping, tubelines, xmlelementdecl, xmlregistry

The ObjectFactory.java Java example source code

/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-600
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.11.17 at 11:49:55 AM CET
//


package com.sun.xml.internal.ws.runtime.config;

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.sun.xml.internal.ws.runtime.config package.
 * <p>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 _Tubelines_QNAME = new QName("http://java.sun.com/xml/ns/metro/config", "tubelines");
    private final static QName _TubelineMapping_QNAME = new QName("http://java.sun.com/xml/ns/metro/config", "tubeline-mapping");
    private final static QName _Tubeline_QNAME = new QName("http://java.sun.com/xml/ns/metro/config", "tubeline");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.internal.ws.runtime.config
     *
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link TubeFactoryConfig }
     *
     */
    public TubeFactoryConfig createTubeFactoryConfig() {
        return new TubeFactoryConfig();
    }

    /**
     * Create an instance of {@link TubeFactoryList }
     *
     */
    public TubeFactoryList createTubeFactoryList() {
        return new TubeFactoryList();
    }

    /**
     * Create an instance of {@link TubelineDefinition }
     *
     */
    public TubelineDefinition createTubelineDefinition() {
        return new TubelineDefinition();
    }

    /**
     * Create an instance of {@link Tubelines }
     *
     */
    public Tubelines createTubelines() {
        return new Tubelines();
    }

    /**
     * Create an instance of {@link MetroConfig }
     *
     */
    public MetroConfig createMetroConfig() {
        return new MetroConfig();
    }

    /**
     * Create an instance of {@link TubelineMapping }
     *
     */
    public TubelineMapping createTubelineMapping() {
        return new TubelineMapping();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Tubelines }{@code >}}
     *
     */
    @XmlElementDecl(namespace = "http://java.sun.com/xml/ns/metro/config", name = "tubelines")
    public JAXBElement<Tubelines> createTubelines(Tubelines value) {
        return new JAXBElement<Tubelines>(_Tubelines_QNAME, Tubelines.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link TubelineMapping }{@code >}}
     *
     */
    @XmlElementDecl(namespace = "http://java.sun.com/xml/ns/metro/config", name = "tubeline-mapping")
    public JAXBElement<TubelineMapping> createTubelineMapping(TubelineMapping value) {
        return new JAXBElement<TubelineMapping>(_TubelineMapping_QNAME, TubelineMapping.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link TubelineDefinition }{@code >}}
     *
     */
    @XmlElementDecl(namespace = "http://java.sun.com/xml/ns/metro/config", name = "tubeline")
    public JAXBElement<TubelineDefinition> createTubeline(TubelineDefinition value) {
        return new JAXBElement<TubelineDefinition>(_Tubeline_QNAME, TubelineDefinition.class, null, value);
    }

}

Other Java examples (source code examples)

Here is a short list of links related to this Java ObjectFactory.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.