|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.sod.status.AbstractVelocityStatus
public abstract class AbstractVelocityStatus
Constructor Summary | |
---|---|
AbstractVelocityStatus(org.w3c.dom.Element config)
|
|
AbstractVelocityStatus(java.lang.String fileDir,
java.lang.String templateName)
|
Method Summary | |
---|---|
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 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 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.sc.seis.sod.status.waveformArm.WaveformMonitor |
---|
update, update, update, update |
Methods inherited from interface edu.sc.seis.sod.status.networkArm.NetworkMonitor |
---|
change, change, change, change, setArmStatus |
Constructor Detail |
---|
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
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |