public abstract class AbstractVelocityStatus extends java.lang.Object implements WaveformMonitor, NetworkMonitor
Constructor and Description |
---|
AbstractVelocityStatus(org.w3c.dom.Element config) |
AbstractVelocityStatus(java.lang.String fileDir,
java.lang.String templateName) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNestedTextForElement(java.lang.String elementName,
org.w3c.dom.Element config) |
abstract int |
getNumDirDeep()
Method getNumDirDeep returns how many directories below the base status
directory this template will write
|
static java.lang.String |
getTemplateName(org.w3c.dom.Element config) |
protected java.lang.String |
loadTemplate()
loads the default template, given by the <template> tag in the config.
|
protected java.lang.String |
loadTemplate(java.lang.String templateName)
loads the named template.
|
void |
scheduleOutput(java.lang.String filename,
org.apache.velocity.context.Context context)
Schedules the default template, from the <template> element in the config,
for output.
|
void |
scheduleOutput(java.lang.String filename,
org.apache.velocity.context.Context context,
java.lang.String template)
Schedules the given template for output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
update, update, update, update
change, change, change, change, setArmStatus
public AbstractVelocityStatus(org.w3c.dom.Element config) throws java.sql.SQLException, java.net.MalformedURLException, java.io.IOException
java.sql.SQLException
java.net.MalformedURLException
java.io.IOException
public AbstractVelocityStatus(java.lang.String fileDir, java.lang.String templateName) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public static java.lang.String getTemplateName(org.w3c.dom.Element config) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.lang.String getNestedTextForElement(java.lang.String elementName, org.w3c.dom.Element config)
public abstract int getNumDirDeep()
protected java.lang.String loadTemplate() throws java.io.IOException
java.io.IOException
protected java.lang.String loadTemplate(java.lang.String templateName) throws java.io.IOException
java.io.IOException
public void scheduleOutput(java.lang.String filename, org.apache.velocity.context.Context context)
public void scheduleOutput(java.lang.String filename, org.apache.velocity.context.Context context, java.lang.String template)