Package org.sonar.java.se.checks
Enum XxeProperty.FeatureExternalGeneralEntities
- java.lang.Object
-
- java.lang.Enum<XxeProperty.FeatureExternalGeneralEntities>
-
- org.sonar.java.se.checks.XxeProperty.FeatureExternalGeneralEntities
-
- All Implemented Interfaces:
Serializable,Comparable<XxeProperty.FeatureExternalGeneralEntities>,XxeProperty,Constraint
- Enclosing interface:
- XxeProperty
public static enum XxeProperty.FeatureExternalGeneralEntities extends Enum<XxeProperty.FeatureExternalGeneralEntities> implements Constraint, XxeProperty
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.java.se.checks.XxeProperty
XxeProperty.AttributeDTD, XxeProperty.AttributeSchema, XxeProperty.AttributeStyleSheet, XxeProperty.FeatureDisallowDoctypeDecl, XxeProperty.FeatureExternalGeneralEntities, XxeProperty.FeatureIsSupportingExternalEntities, XxeProperty.FeatureLoadExternalDtd, XxeProperty.FeatureSupportDtd, XxeProperty.XxePropertyHolder
-
-
Field Summary
-
Fields inherited from interface org.sonar.java.se.checks.XxeProperty
UNSECURED_USE_EMPTY_STRING_TO_PROTECT_AGAINST_XXE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XxeProperty.XxePropertyHolderproperties()static XxeProperty.FeatureExternalGeneralEntitiesvalueOf(String name)Returns the enum constant of this type with the specified name.static XxeProperty.FeatureExternalGeneralEntities[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.sonar.java.se.constraint.Constraint
copyOver, hasPreciseValue, inverse, isValidWith, valueAsString
-
Methods inherited from interface org.sonar.java.se.checks.XxeProperty
isNamed, isSecuring, isUnsecuring, namedConstraint, securedConstraint, unsecuredConstraint
-
-
-
-
Enum Constant Detail
-
UNSECURED
public static final XxeProperty.FeatureExternalGeneralEntities UNSECURED
-
SECURED
public static final XxeProperty.FeatureExternalGeneralEntities SECURED
-
NAMED
public static final XxeProperty.FeatureExternalGeneralEntities NAMED
-
-
Method Detail
-
values
public static XxeProperty.FeatureExternalGeneralEntities[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XxeProperty.FeatureExternalGeneralEntities c : XxeProperty.FeatureExternalGeneralEntities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XxeProperty.FeatureExternalGeneralEntities valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
properties
public XxeProperty.XxePropertyHolder properties()
- Specified by:
propertiesin interfaceXxeProperty
-
-