org.mitre.cybox.objects.file.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.file;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import org.mitre.cybox.common.CipherType;
import org.mitre.cybox.common.IntegerObjectPropertyType;
import org.mitre.cybox.common.StringObjectPropertyType;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.mitre.cybox.objects.file 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 _ArchiveFile_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Archive_File");
private final static QName _File_QNAME = new QName("http://cybox.mitre.org/objects#FileObject-2", "File");
private final static QName _ArchiveFileObjectTypeArchiveFormat_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Archive_Format");
private final static QName _ArchiveFileObjectTypeVersion_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Version");
private final static QName _ArchiveFileObjectTypeFileCount_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "File_Count");
private final static QName _ArchiveFileObjectTypeEncryptionAlgorithm_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Encryption_Algorithm");
private final static QName _ArchiveFileObjectTypeDecryptionKey_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Decryption_Key");
private final static QName _ArchiveFileObjectTypeComment_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Comment");
private final static QName _ArchiveFileObjectTypeArchivedFile_QNAME = new QName("http://cybox.mitre.org/objects#ArchiveFileObject-1", "Archived_File");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.mitre.cybox.objects.file
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ArchiveFileObjectType }
*
*/
public ArchiveFileObjectType createArchiveFileObjectType() {
return new ArchiveFileObjectType();
}
/**
* Create an instance of {@link ArchiveFileFormatType }
*
*/
public ArchiveFileFormatType createArchiveFileFormatType() {
return new ArchiveFileFormatType();
}
/**
* Create an instance of {@link FileObjectType }
*
*/
public FileObjectType createFileObjectType() {
return new FileObjectType();
}
/**
* Create an instance of {@link FilePathType }
*
*/
public FilePathType createFilePathType() {
return new FilePathType();
}
/**
* Create an instance of {@link PackerListType }
*
*/
public PackerListType createPackerListType() {
return new PackerListType();
}
/**
* Create an instance of {@link PackerType }
*
*/
public PackerType createPackerType() {
return new PackerType();
}
/**
* Create an instance of {@link PackerClassType }
*
*/
public PackerClassType createPackerClassType() {
return new PackerClassType();
}
/**
* Create an instance of {@link EPJumpCodeType }
*
*/
public EPJumpCodeType createEPJumpCodeType() {
return new EPJumpCodeType();
}
/**
* Create an instance of {@link EntryPointSignatureType }
*
*/
public EntryPointSignatureType createEntryPointSignatureType() {
return new EntryPointSignatureType();
}
/**
* Create an instance of {@link EntryPointSignatureListType }
*
*/
public EntryPointSignatureListType createEntryPointSignatureListType() {
return new EntryPointSignatureListType();
}
/**
* Create an instance of {@link SymLinksListType }
*
*/
public SymLinksListType createSymLinksListType() {
return new SymLinksListType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ArchiveFileObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Archive_File")
public JAXBElement createArchiveFile(ArchiveFileObjectType value) {
return new JAXBElement(_ArchiveFile_QNAME, ArchiveFileObjectType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link FileObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#FileObject-2", name = "File")
public JAXBElement createFile(FileObjectType value) {
return new JAXBElement(_File_QNAME, FileObjectType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ArchiveFileFormatType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Archive_Format", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeArchiveFormat(ArchiveFileFormatType value) {
return new JAXBElement(_ArchiveFileObjectTypeArchiveFormat_QNAME, ArchiveFileFormatType.class, ArchiveFileObjectType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link StringObjectPropertyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Version", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeVersion(StringObjectPropertyType value) {
return new JAXBElement(_ArchiveFileObjectTypeVersion_QNAME, StringObjectPropertyType.class, ArchiveFileObjectType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link IntegerObjectPropertyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "File_Count", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeFileCount(IntegerObjectPropertyType value) {
return new JAXBElement(_ArchiveFileObjectTypeFileCount_QNAME, IntegerObjectPropertyType.class, ArchiveFileObjectType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CipherType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Encryption_Algorithm", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeEncryptionAlgorithm(CipherType value) {
return new JAXBElement(_ArchiveFileObjectTypeEncryptionAlgorithm_QNAME, CipherType.class, ArchiveFileObjectType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link StringObjectPropertyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Decryption_Key", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeDecryptionKey(StringObjectPropertyType value) {
return new JAXBElement(_ArchiveFileObjectTypeDecryptionKey_QNAME, StringObjectPropertyType.class, ArchiveFileObjectType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link StringObjectPropertyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Comment", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeComment(StringObjectPropertyType value) {
return new JAXBElement(_ArchiveFileObjectTypeComment_QNAME, StringObjectPropertyType.class, ArchiveFileObjectType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link FileObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://cybox.mitre.org/objects#ArchiveFileObject-1", name = "Archived_File", scope = ArchiveFileObjectType.class)
public JAXBElement createArchiveFileObjectTypeArchivedFile(FileObjectType value) {
return new JAXBElement(_ArchiveFileObjectTypeArchivedFile_QNAME, FileObjectType.class, ArchiveFileObjectType.class, value);
}
}