Enum Xhtml5BaseSink.VerbatimMode
java.lang.Object
java.lang.Enum<Xhtml5BaseSink.VerbatimMode>
org.apache.maven.doxia.sink.impl.Xhtml5BaseSink.VerbatimMode
- All Implemented Interfaces:
Serializable, Comparable<Xhtml5BaseSink.VerbatimMode>, java.lang.constant.Constable
- Enclosing class:
Xhtml5BaseSink
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionnot in verbatim modeInside<pre>Inside<pre><code>Same asON_WITH_CODEbut after some text has been emitted -
Method Summary
Modifier and TypeMethodDescriptionstatic Xhtml5BaseSink.VerbatimModeReturns the enum constant of this type with the specified name.static Xhtml5BaseSink.VerbatimMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OFF
not in verbatim mode -
ON
Inside<pre> -
ON_WITH_CODE
Inside<pre><code> -
ON_WITH_CODE_AFTER_TEXT
Same asON_WITH_CODEbut after some text has been emitted
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-