public enum WarningReportMode extends java.lang.Enum<WarningReportMode> implements DocBookCompareDisplayable
Enum Constant and Description |
---|
COMMENTS
Add the recoverable errors and warnings as comments.
|
DOCUMENT_MARKUP
Add the recoverable errors and warnings as document content.
|
MESSAGE
Report the recoverable errors and warnings as XSL messages, which are typically visible
when the comparison is run from a command-line terminal.
|
PROCESSING_INSTRUCTIONS
Add the recoverable errors and warnings as processing instructions.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the WarningReportMode.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the WarningReportMode.
|
static WarningReportMode |
getWarningReportMode(java.lang.String value)
Returns a WarningReportMode object from the supplied String value if appropriate.
|
static WarningReportMode |
parseValue(java.lang.String value)
Returns a WarningReportMode object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of WarningReportMode.
|
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
public static final WarningReportMode PROCESSING_INSTRUCTIONS
public static final WarningReportMode COMMENTS
public static final WarningReportMode DOCUMENT_MARKUP
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 getDisplayName()
Returns the user friendly String name of the WarningReportMode.
getDisplayName
in interface DocBookCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the WarningReportMode.
getDisplayDescription
in interface DocBookCompareDisplayable
public java.lang.String toString()
Returns a String representation of WarningReportMode.
toString
in class java.lang.Enum<WarningReportMode>
public static WarningReportMode getWarningReportMode(java.lang.String value)
Returns a WarningReportMode object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a WarningReportMode valuepublic static WarningReportMode parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a WarningReportMode object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a WarningReportMode valuejava.lang.IllegalArgumentException
- Whenever the provided string does not represent one of this enum'e enumerated values.Copyright (c) 2010-2016 DeltaXML Ltd. All Rights Reserved.