Enum Class XmlSecurityException.SecurityViolationType
java.lang.Object
java.lang.Enum<XmlSecurityException.SecurityViolationType>
cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
- All Implemented Interfaces:
Serializable, Comparable<XmlSecurityException.SecurityViolationType>, Constable
- Enclosing class:
XmlSecurityException
public static enum XmlSecurityException.SecurityViolationType
extends Enum<XmlSecurityException.SecurityViolationType>
Security Violation Type Enumeration
安全违规类型枚举
- Since:
- JDK 25, opencode-base-xml V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDTD processing is prohibited DTD 处理被禁止Entity expansion limit exceeded (Billion Laughs attack) 实体扩展超限(十亿笑声攻击)External parameter entity reference detected 检测到外部参数实体引用External entity reference detected (XXE attack) 检测到外部实体引用(XXE 攻击) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
XXE_DETECTED
External entity reference detected (XXE attack) 检测到外部实体引用(XXE 攻击) -
ENTITY_EXPANSION_LIMIT
Entity expansion limit exceeded (Billion Laughs attack) 实体扩展超限(十亿笑声攻击) -
DTD_PROHIBITED
DTD processing is prohibited DTD 处理被禁止 -
EXTERNAL_PARAMETER_ENTITY
External parameter entity reference detected 检测到外部参数实体引用
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-