public abstract class SimpleVar extends Var
Note the difference between this class and StreamedVar that streams values to writers.
Unlike the StreamedVar class, the returned value from this class can contain nested variables that will be
recursively resolved by VarResolver.
Subclasses must implement the following method:
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleVar(String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
resolveTo(VarResolverSession session,
Writer w,
String arg)
The interface that needs to be implemented for subclasses of
StreamedVar. |
allowNested, allowRecurse, canResolve, doResolve, getName, resolvepublic void resolveTo(VarResolverSession session, Writer w, String arg) throws Exception
VarStreamedVar.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.