All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mitre.cybox.external.cpe.lang.ObjectFactory Maven / Gradle / Ivy

The newest version!
//
// 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.external.cpe.lang;

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.external.cpe.lang 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 _PlatformSpecification_QNAME = new QName("http://cpe.mitre.org/language/2.0", "platform-specification"); private final static QName _Platform_QNAME = new QName("http://cpe.mitre.org/language/2.0", "platform"); private final static QName _PlatformConfiguration_QNAME = new QName("http://cpe.mitre.org/language/2.0", "platform-configuration"); private final static QName _LogicalTest_QNAME = new QName("http://cpe.mitre.org/language/2.0", "logical-test"); private final static QName _FactRef_QNAME = new QName("http://cpe.mitre.org/language/2.0", "fact-ref"); private final static QName _CheckFactRef_QNAME = new QName("http://cpe.mitre.org/language/2.0", "check-fact-ref"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.mitre.cybox.external.cpe.lang * */ public ObjectFactory() { } /** * Create an instance of {@link PlatformSpecificationType } * */ public PlatformSpecificationType createPlatformSpecificationType() { return new PlatformSpecificationType(); } /** * Create an instance of {@link PlatformType } * */ public PlatformType createPlatformType() { return new PlatformType(); } /** * Create an instance of {@link PlatformBaseType } * */ public PlatformBaseType createPlatformBaseType() { return new PlatformBaseType(); } /** * Create an instance of {@link LogicalTestType } * */ public LogicalTestType createLogicalTestType() { return new LogicalTestType(); } /** * Create an instance of {@link CPEFactRefType } * */ public CPEFactRefType createCPEFactRefType() { return new CPEFactRefType(); } /** * Create an instance of {@link CheckFactRefType } * */ public CheckFactRefType createCheckFactRefType() { return new CheckFactRefType(); } /** * Create an instance of {@link FactRefType } * */ public FactRefType createFactRefType() { return new FactRefType(); } /** * Create an instance of {@link TextType } * */ public TextType createTextType() { return new TextType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link PlatformSpecificationType }{@code >}} * */ @XmlElementDecl(namespace = "http://cpe.mitre.org/language/2.0", name = "platform-specification") public JAXBElement createPlatformSpecification(PlatformSpecificationType value) { return new JAXBElement(_PlatformSpecification_QNAME, PlatformSpecificationType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link PlatformType }{@code >}} * */ @XmlElementDecl(namespace = "http://cpe.mitre.org/language/2.0", name = "platform") public JAXBElement createPlatform(PlatformType value) { return new JAXBElement(_Platform_QNAME, PlatformType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link PlatformBaseType }{@code >}} * */ @XmlElementDecl(namespace = "http://cpe.mitre.org/language/2.0", name = "platform-configuration") public JAXBElement createPlatformConfiguration(PlatformBaseType value) { return new JAXBElement(_PlatformConfiguration_QNAME, PlatformBaseType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link LogicalTestType }{@code >}} * */ @XmlElementDecl(namespace = "http://cpe.mitre.org/language/2.0", name = "logical-test") public JAXBElement createLogicalTest(LogicalTestType value) { return new JAXBElement(_LogicalTest_QNAME, LogicalTestType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CPEFactRefType }{@code >}} * */ @XmlElementDecl(namespace = "http://cpe.mitre.org/language/2.0", name = "fact-ref") public JAXBElement createFactRef(CPEFactRefType value) { return new JAXBElement(_FactRef_QNAME, CPEFactRefType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CheckFactRefType }{@code >}} * */ @XmlElementDecl(namespace = "http://cpe.mitre.org/language/2.0", name = "check-fact-ref") public JAXBElement createCheckFactRef(CheckFactRefType value) { return new JAXBElement(_CheckFactRef_QNAME, CheckFactRefType.class, null, value); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy