public class LocalSeismogramTemplate extends Template
Modifier and Type | Class and Description |
---|---|
class |
LocalSeismogramTemplate.Writer |
Constructor and Description |
---|
LocalSeismogramTemplate(org.w3c.dom.Element el,
java.lang.String baseDir) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResult(CookieJar cj) |
protected java.lang.Object |
getTemplate(java.lang.String tag,
org.w3c.dom.Element el)
if this class has an template for this tag, it creates it using the
passed in element and returns it.
|
static java.lang.String |
getVelocityResult(java.lang.String template,
CookieJar cookieJar) |
protected java.lang.Object |
textTemplate(java.lang.String text)
returns an object of the template type that this class uses, and returns
the passed in text when the getResult method of that template type is
called
|
void |
update(java.lang.String outputLocation,
CookieJar cj) |
getCommonTemplate, parse, parse, setUp
public LocalSeismogramTemplate(org.w3c.dom.Element el, java.lang.String baseDir) throws ConfigurationException
ConfigurationException
public void update(java.lang.String outputLocation, CookieJar cj)
protected java.lang.Object textTemplate(java.lang.String text)
Template
textTemplate
in class Template
public java.lang.String getResult(CookieJar cj)
public static java.lang.String getVelocityResult(java.lang.String template, CookieJar cookieJar)
protected java.lang.Object getTemplate(java.lang.String tag, org.w3c.dom.Element el) throws ConfigurationException
getTemplate
in class Template
ConfigurationException