org.mitre.cybox.objects.gui.ObjectFactory Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.11.01 at 11:48:17 AM PST
//
package org.mitre.cybox.objects.gui;
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.mitre.cybox.objects.gui 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 _GUIDialogbox_QNAME = new QName("http://cybox.mitre.org/objects#GUIDialogboxObject-2", "GUI_Dialogbox");
private final static QName _GUIObject_QNAME = new QName("http://cybox.mitre.org/objects#GUIObject-2", "GUI_Object");
private final static QName _GUIWindow_QNAME = new QName("http://cybox.mitre.org/objects#GUIWindowObject-2", "GUI_Window");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.mitre.cybox.objects.gui
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link GUIDialogboxObjectType }
*
*/
public GUIDialogboxObjectType createGUIDialogboxObjectType() {
return new GUIDialogboxObjectType();
}
/**
* Create an instance of {@link GUIObjectType }
*
*/
public GUIObjectType createGUIObjectType() {
return new GUIObjectType();
}
/**
* Create an instance of {@link GUIWindowObjectType }
*
*/
public GUIWindowObjectType createGUIWindowObjectType() {
return new GUIWindowObjectType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GUIDialogboxObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#GUIDialogboxObject-2", name = "GUI_Dialogbox")
public JAXBElement createGUIDialogbox(GUIDialogboxObjectType value) {
return new JAXBElement(_GUIDialogbox_QNAME, GUIDialogboxObjectType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GUIObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#GUIObject-2", name = "GUI_Object")
public JAXBElement createGUIObject(GUIObjectType value) {
return new JAXBElement(_GUIObject_QNAME, GUIObjectType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GUIWindowObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#GUIWindowObject-2", name = "GUI_Window")
public JAXBElement createGUIWindow(GUIWindowObjectType value) {
return new JAXBElement(_GUIWindow_QNAME, GUIWindowObjectType.class, null, value);
}
}