org.mitre.cybox.objects.PageProtectionAttributeEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stix Show documentation
Show all versions of stix Show documentation
The Java bindings for STIX v.1.2.0.2
/**
* Copyright (c) 2015, The MITRE Corporation. All rights reserved.
* See LICENSE for complete terms.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.23 at 10:59:44 AM EDT
//
package org.mitre.cybox.objects;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PageProtectionAttributeEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PageProtectionAttributeEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SEC_COMMIT"/>
* <enumeration value="SEC_IMAGE"/>
* <enumeration value="SEC_IMAGE_NO_EXECUTE"/>
* <enumeration value="SEC_LARGE_PAGES"/>
* <enumeration value="SEC_NOCACHE"/>
* <enumeration value="SEC_RESERVE"/>
* <enumeration value="SEC_WRITECOMBINE"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PageProtectionAttributeEnum", namespace = "http://cybox.mitre.org/objects#WinFilemappingObject-1")
@XmlEnum
public enum PageProtectionAttributeEnum {
/**
* Specifies that if the file mapping is backed by the operating system paging file, that when a view of the file is mapped into a process address space, the entire range of pages is committed rather than reserved.
*
*/
SEC_COMMIT,
/**
* Specifies that the file mapped by the file mapping is an executable image file.
*
*/
SEC_IMAGE,
/**
* Specifies that the file mapped by the file mapping is an executable image file that will not be executed and the loaded image file will have no forced integrity checks run.
*
*/
SEC_IMAGE_NO_EXECUTE,
/**
* Enables large pages to be used for file mapping objects that are backed by the operating system paging file.
*
*/
SEC_LARGE_PAGES,
/**
* Sets all pages to be non-cachable.
*
*/
SEC_NOCACHE,
/**
* Specifies that when a view of the file is mapped into a process address space, the entire range of pages is reserved for later use by the process rather than committed. Only valid if the file mapping is backed by the operating system paging file.
*
*/
SEC_RESERVE,
/**
* Sets all pages to be write-combined.
*
*/
SEC_WRITECOMBINE;
public String value() {
return name();
}
public static PageProtectionAttributeEnum fromValue(String v) {
return valueOf(v);
}
}