org.firej.writers.velocity
Class VelocityWriter
java.lang.Object
org.firej.writers.Writer
org.firej.writers.velocity.VelocityWriter
- Direct Known Subclasses:
- BytecodeDirectWriter, BytecodeVelocityWriter, FileVelocityWriter, JavaVelocityWriter
public abstract class VelocityWriter
- extends Writer
- Author:
- Vassilios Karakoidas (bkarak@aueb.gr)
Field Summary |
protected VelocityEngine |
engine
|
protected java.lang.String |
template
|
Constructor Summary |
protected |
VelocityWriter(java.lang.String template)
|
Method Summary |
Regex |
compile(DFA dfa,
java.lang.String regex)
|
java.lang.String |
getDescription()
Returns a description for the writer |
protected java.io.StringWriter |
prepare(DFA dfa,
java.lang.String regex,
java.lang.String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
engine
protected VelocityEngine engine
template
protected java.lang.String template
VelocityWriter
protected VelocityWriter(java.lang.String template)
prepare
protected java.io.StringWriter prepare(DFA dfa,
java.lang.String regex,
java.lang.String filename)
compile
public Regex compile(DFA dfa,
java.lang.String regex)
- Overrides:
compile
in class Writer
getDescription
public java.lang.String getDescription()
- Description copied from class:
Writer
- Returns a description for the writer
- Specified by:
getDescription
in class Writer