|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.transformation.helpers.VariableConfiguration
public class VariableConfiguration
An Avalon Configuration factory that allows {variables} to be
replaced with values from a lookup table.
| Field Summary | |
|---|---|
static String |
UNSET_VAR
|
| Constructor Summary | |
|---|---|
VariableConfiguration(Configuration conf)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addVariable(String name,
String value)
Add a name-value pair. |
void |
addVariables(Parameters params)
Add a set of name-value pairs. |
Configuration |
getConfiguration()
Get a generated Configuration with interpolated variable values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UNSET_VAR
| Constructor Detail |
|---|
public VariableConfiguration(Configuration conf)
conf - Template Configuration with {variables} to marking where
values should be interpolated. May be null.| Method Detail |
|---|
public void addVariable(String name,
String value)
public void addVariables(Parameters params)
public Configuration getConfiguration()
throws SAXException,
ConfigurationException
null.
SAXException
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||