Package org.sonar.java.se.checks
Enum XxeProperty.FeatureXInclude
- All Implemented Interfaces:
Serializable,Comparable<XxeProperty.FeatureXInclude>,XxeProperty,Constraint
- Enclosing interface:
XxeProperty
public static enum XxeProperty.FeatureXInclude
extends Enum<XxeProperty.FeatureXInclude>
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.FeatureSecureProcessing, XxeProperty.FeatureSupportDtd, XxeProperty.FeatureXInclude, XxeProperty.XxePropertyHolder -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface org.sonar.java.se.checks.XxeProperty
UNSECURED_USE_EMPTY_STRING_TO_PROTECT_AGAINST_XXE -
Method Summary
Modifier and TypeMethodDescriptionstatic XxeProperty.FeatureXIncludeReturns the enum constant of this type with the specified name.static XxeProperty.FeatureXInclude[]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, valueOfMethods inherited from interface org.sonar.java.se.constraint.Constraint
copyOver, hasPreciseValue, inverse, isValidWith, valueAsStringMethods inherited from interface org.sonar.java.se.checks.XxeProperty
isNamed, isSecuring, isUnsecuring, namedConstraint, securedConstraint, unsecuredConstraint
-
Enum Constant Details
-
ENABLE
-
DISABLE
-
NAMED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Specified by:
propertiesin interfaceXxeProperty
-