public static enum DomVariableExpander.VariableSyntax extends Enum<DomVariableExpander.VariableSyntax>
| Enum Constant and Description |
|---|
dollarOrDollarThenBraces
Accepts variables like ${foo} or $foo
|
dollarThenBraces
Accepts variables like ${foo} but NOT $foo.
|
| Modifier and Type | Method and Description |
|---|---|
abstract CharSequence |
expand(Map<String,String> variables,
CharSequence template) |
static DomVariableExpander.VariableSyntax |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomVariableExpander.VariableSyntax[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomVariableExpander.VariableSyntax dollarThenBraces
public static final DomVariableExpander.VariableSyntax dollarOrDollarThenBraces
public static DomVariableExpander.VariableSyntax[] values()
for (DomVariableExpander.VariableSyntax c : DomVariableExpander.VariableSyntax.values()) System.out.println(c);
public static DomVariableExpander.VariableSyntax 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 abstract CharSequence expand(Map<String,String> variables, CharSequence template) throws DomVariableExpander.VariableNotFoundException
Copyright © 2003–2018. All rights reserved.