public static enum TocMacroParameters.Scope extends Enum<TocMacroParameters.Scope>
| Enum Constant and Description |
|---|
LOCAL
List section starting where macro block is located in the XDOM.
|
PAGE
List the sections of the whole page.
|
| Modifier and Type | Method and Description |
|---|---|
static TocMacroParameters.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TocMacroParameters.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TocMacroParameters.Scope LOCAL
public static final TocMacroParameters.Scope PAGE
public static TocMacroParameters.Scope[] values()
for (TocMacroParameters.Scope c : TocMacroParameters.Scope.values()) System.out.println(c);
public static TocMacroParameters.Scope 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 nullCopyright © 2004–2017 XWiki. All rights reserved.