public class BidiSubstituter extends Object implements Substituter
| Modifier and Type | Field and Description |
|---|---|
static String |
DIR |
static String |
END_EDGE |
static String |
LEFT |
static String |
LTR |
static String |
REVERSE_DIR |
static String |
RIGHT |
static String |
RTL |
static String |
START_EDGE |
| Constructor and Description |
|---|
BidiSubstituter(MessageBundleFactory messageBundleFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubstitutions(Substitutions substituter,
GadgetContext context,
GadgetSpec spec)
Add the substitutions from this Substituter to the
Substitutions. |
public static final String START_EDGE
public static final String END_EDGE
public static final String DIR
public static final String REVERSE_DIR
public static final String RIGHT
public static final String LEFT
public static final String RTL
public static final String LTR
@Inject public BidiSubstituter(MessageBundleFactory messageBundleFactory)
public void addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec) throws GadgetException
SubstituterSubstitutions.addSubstitutions in interface Substitutersubstituter - container for the new substitutions, containing any existing substitutionscontext - the context in which this gadget is being renderedspec - the gadget specification being substitutedGadgetException - when there has been a general error adding substitutionsCopyright © 2007-2012. All Rights Reserved.