/*******************************************************************************
* ===========================================================
* Ankush : Big Data Cluster Management Solution
* ===========================================================
*
* (C) Copyright 2014, by Impetus Technologies
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License (LGPL v3) as
* published by the Free Software Foundation;
*
* This software 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this software; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.12.28 at 12:38:28 PM IST
//
package com.impetus.ankush.common.config;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.impetus.ankush.hadoop.conf 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 {
/** The Constant _Description_QNAME. */
private final static QName _Description_QNAME = new QName("", "description");
/** The Constant _Name_QNAME. */
private final static QName _Name_QNAME = new QName("", "name");
/** The Constant _Value_QNAME. */
private final static QName _Value_QNAME = new QName("", "value");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.impetus.ankush.hadoop.conf
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Property }.
*
* @return the property
*/
public Property createProperty() {
return new Property();
}
/**
* Create an instance of {@link Configuration }.
*
* @return the configuration
*/
public Configuration createConfiguration() {
return new Configuration();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}.
*
* @param value the value
* @return the JAXB element< string>
*/
@XmlElementDecl(namespace = "", name = "description")
public JAXBElement<String> createDescription(String value) {
return new JAXBElement<String>(_Description_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}.
*
* @param value the value
* @return the JAXB element< string>
*/
@XmlElementDecl(namespace = "", name = "name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
public JAXBElement<String> createName(String value) {
return new JAXBElement<String>(_Name_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}.
*
* @param value the value
* @return the JAXB element< string>
*/
@XmlElementDecl(namespace = "", name = "value")
public JAXBElement<String> createValue(String value) {
return new JAXBElement<String>(_Value_QNAME, String.class, null, value);
}
}