Enum AbstractXmlValidator.ValidationResult
- java.lang.Object
-
- java.lang.Enum<AbstractXmlValidator.ValidationResult>
-
- nl.nn.adapterframework.validation.AbstractXmlValidator.ValidationResult
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractXmlValidator.ValidationResult>
- Enclosing class:
- AbstractXmlValidator
public static enum AbstractXmlValidator.ValidationResult extends Enum<AbstractXmlValidator.ValidationResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID
PARSER_ERROR
VALID
VALID_WITH_WARNINGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEvent()
static AbstractXmlValidator.ValidationResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractXmlValidator.ValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARSER_ERROR
public static final AbstractXmlValidator.ValidationResult PARSER_ERROR
-
INVALID
public static final AbstractXmlValidator.ValidationResult INVALID
-
VALID_WITH_WARNINGS
public static final AbstractXmlValidator.ValidationResult VALID_WITH_WARNINGS
-
VALID
public static final AbstractXmlValidator.ValidationResult VALID
-
-
Method Detail
-
values
public static AbstractXmlValidator.ValidationResult[] 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 (AbstractXmlValidator.ValidationResult c : AbstractXmlValidator.ValidationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractXmlValidator.ValidationResult 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
-
getEvent
public String getEvent()
-
-