Package com.deltaxml.mergecommon.config
Enum Class WarningReportMode
- All Implemented Interfaces:
Serializable,Comparable<WarningReportMode>,Constable
Specifies how certain warnings generated during the comparison process are reported.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReports warnings using XML comments.Reports warnings using <xsl:message/>.Reports warning using processing instructions with the format<? -
Method Summary
Modifier and TypeMethodDescriptionstatic WarningReportModeReturns aWarningReportModeobject based on the supplied String value.toString()The camel case string form of each of the enumerated type constants.static WarningReportModeReturns the enum constant of this class with the specified name.static WarningReportMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
MESSAGE
Reports warnings using <xsl:message/>. These are typically sent tostd.outbut this can be changed by configuring the relevant SaxonConfigurationobject. -
PROCESSING_INSTRUCTIONS
Reports warning using processing instructions with the format<?dxml_warn warning content ?>. -
COMMENTS
Reports warnings using XML comments.
-
-
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
-
toString
The camel case string form of each of the enumerated type constants. Here, the string for an enumeration constant of the form 'FIRST_SECOND_THIRD' is 'firstSecondThird', except for the 'PROCESSING_INSTRUCTION' enumeration whose string value is 'pis'.- Overrides:
toStringin classEnum<WarningReportMode>- Returns:
- The camel case string form of each of the enumerated type constants.
-
getWarningReportMode
Returns a
WarningReportModeobject based on the supplied String value.This method should not be used under normal circumstances, enum instance values should be used instead.
- Parameters:
val- a String representation of aWarningReportModevalue ornullto get the default value- Returns:
- the
WarningReportModeinstance corresponding to the parameter, or null if the value is invalid
-