public class CompiledString extends Object
| Constructor and Description |
|---|
CompiledString(LinkedList<StringPart> compiled)
Constructor for CompiledString.
|
CompiledString(StringPart[] compiled)
Constructor for CompiledString.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dump(StringBuffer sb)
Return a readable information about the tree structure.
|
String |
execute(Map<String,Object> attributes)
Return the new, compiled string.
|
void |
execute(StringBuffer sb,
Map<String,Object> attributes)
execute.
|
public CompiledString(StringPart[] compiled)
Constructor for CompiledString.
compiled - an array of StringPart objects.public CompiledString(LinkedList<StringPart> compiled)
Constructor for CompiledString.
compiled - a LinkedList object.public String execute(Map<String,Object> attributes) throws MException
attributes - a Map object.String object.MException - if any.public void execute(StringBuffer sb, Map<String,Object> attributes) throws MException
execute.
sb - a StringBuffer object.attributes - a Map object.MException - if any.public void dump(StringBuffer sb)
sb - a StringBuffer object.Copyright © 2016. All Rights Reserved.