@Unstable public enum CodeMacroLayout extends Enum<CodeMacroLayout>
layout
parameter of the code macro.Modifier and Type | Class and Description |
---|---|
static class |
CodeMacroLayout.Constants
Convenience class holding hint values for
CodeLayoutHandler components. |
Enum Constant and Description |
---|
LINENUMBERS
Display line numbers beside the rendered code.
|
PLAIN
Output the blocks as rendered by the parser.
|
Modifier and Type | Method and Description |
---|---|
String |
getHint() |
static CodeMacroLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeMacroLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeMacroLayout PLAIN
public static final CodeMacroLayout LINENUMBERS
public static CodeMacroLayout[] values()
for (CodeMacroLayout c : CodeMacroLayout.values()) System.out.println(c);
public static CodeMacroLayout 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 final String getHint()
Copyright © 2004–2021 XWiki. All rights reserved.