public enum WarningReportMode extends Enum<WarningReportMode>
Specifies how certain warnings generated during the comparison process are reported.
Enum Constant and Description |
---|
COMMENTS
Reports warnings using XML comments.
|
MESSAGE
Reports warnings using <xsl:message/>.
|
PROCESSING_INSTRUCTIONS
Reports warning using processing instructions with the format
<?dxml_warn warning content ?> . |
Modifier and Type | Method and Description |
---|---|
static WarningReportMode |
getWarningReportMode(String val)
Returns a
WarningReportMode object based on the supplied String value. |
String |
toString()
The camel case string form of each of the enumerated type constants.
|
static WarningReportMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WarningReportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WarningReportMode MESSAGE
std.out
but this can be changed by
configuring the relevant Saxon Configuration
object.public static final WarningReportMode PROCESSING_INSTRUCTIONS
<?dxml_warn warning content ?>
.public static final WarningReportMode COMMENTS
public static WarningReportMode[] values()
for (WarningReportMode c : WarningReportMode.values()) System.out.println(c);
public static WarningReportMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<WarningReportMode>
public static WarningReportMode getWarningReportMode(String val)
Returns a WarningReportMode
object based on the supplied String value.
This method should not be used under normal circumstances, enum instance values should be used instead.
val
- a String representation of a WarningReportMode
value or null
to get the default valueWarningReportMode
instance corresponding to the parameter, or null if the value is invalidCopyright © 2023 Deltaman Group Ltd. All Rights Reserved.