* Remove macro processing stuff.
This commit is contained in:
parent
b097d65d52
commit
083422891f
2 changed files with 0 additions and 26 deletions
|
@ -173,12 +173,6 @@ public final class Application implements Runnable {
|
|||
// Field to cache unmapped java classes
|
||||
private final static String CLASS_NOT_MAPPED = "(unmapped)";
|
||||
|
||||
|
||||
/**
|
||||
* Function object for macro processing callback
|
||||
*/
|
||||
Object processMacroParameter = null;
|
||||
|
||||
/**
|
||||
* Namespace search path for global macros
|
||||
*/
|
||||
|
|
|
@ -639,26 +639,6 @@ public class ApplicationBean implements Serializable {
|
|||
return app.globalMacroPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a function for processing macro parameters formatted as $(value).
|
||||
* The function is expected to take the parameter value as string argument,
|
||||
* and return the processed parameter
|
||||
* @param obj a callback function
|
||||
*/
|
||||
public void setProcessMacroParameter(Object obj) {
|
||||
app.processMacroParameter = obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the function for processing macro parameters formatted as $(value).
|
||||
* The function is expected to take the parameter value as string argument,
|
||||
* and return the processed parameter
|
||||
* @return the current macro processor callback function or null
|
||||
*/
|
||||
public Object getProcessMacroParameter() {
|
||||
return app.processMacroParameter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Trigger a synchronous Helma invocation with a default timeout of 30 seconds.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue