org.apache.commons.digester.substitution
Interface VariableExpander
- MultiVariableExpander
public interface VariableExpander
An Interface describing a class capable of expanding strings which
may contain variable references. The exact syntax of the "reference",
and the mechanism for determining the corresponding value to be used
is up to the concrete implementation.
String | expand(String param) - Return the input string with any variables replaced by their
corresponding value.
|
expand
public String expand(String param)
Return the input string with any variables replaced by their
corresponding value. If there are no variables in the string,
then the input parameter is returned unaltered.
Copyright 2001-2005 The Apache Software Foundation.