public enum WarningReportMode extends java.lang.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(java.lang.String val)
Returns a
WarningReportMode object based on the supplied String value. |
java.lang.String |
toString()
The camel case string form of each of the enumerated type constants.
|
static WarningReportMode |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<WarningReportMode>public static WarningReportMode getWarningReportMode(java.lang.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 © 2001-2018 DeltaXML Ltd. All Rights Reserved.