public class MicroSecondTimeRangeFormatter extends Template implements MicroSecondTimeRangeTemplate
Constructor and Description |
---|
MicroSecondTimeRangeFormatter(org.w3c.dom.Element el) |
MicroSecondTimeRangeFormatter(org.w3c.dom.Element el,
boolean fileize) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResult(edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange timeRange) |
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.
|
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
|
getCommonTemplate, parse, parse, setUp
public MicroSecondTimeRangeFormatter(org.w3c.dom.Element el) throws ConfigurationException
ConfigurationException
public MicroSecondTimeRangeFormatter(org.w3c.dom.Element el, boolean fileize) throws ConfigurationException
ConfigurationException
protected java.lang.Object textTemplate(java.lang.String text)
Template
textTemplate
in class Template
protected java.lang.Object getTemplate(java.lang.String tag, org.w3c.dom.Element el)
Template
getTemplate
in class Template
public java.lang.String getResult(edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange timeRange)
getResult
in interface MicroSecondTimeRangeTemplate