public static enum StringTools.ApiPrintMode extends Enum<StringTools.ApiPrintMode>
Enum Constant and Description |
---|
CONTINUE_API
Simply continue rule match output.
|
END_API
End XML/JSON output by closing the root element.
|
NORMAL_API
Normally output the rule matches by starting and
ending the XML/JSON output on every call.
|
START_API
Start XML/JSON output by printing the preamble and the
start of the root element.
|
Modifier and Type | Method and Description |
---|---|
static StringTools.ApiPrintMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringTools.ApiPrintMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringTools.ApiPrintMode NORMAL_API
public static final StringTools.ApiPrintMode START_API
public static final StringTools.ApiPrintMode END_API
public static final StringTools.ApiPrintMode CONTINUE_API
public static StringTools.ApiPrintMode[] values()
for (StringTools.ApiPrintMode c : StringTools.ApiPrintMode.values()) System.out.println(c);
public static StringTools.ApiPrintMode 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 null