public class ChannelFormatter extends Template implements ChannelTemplate
Constructor and Description |
---|
ChannelFormatter() |
ChannelFormatter(org.w3c.dom.Element el) |
ChannelFormatter(org.w3c.dom.Element el,
boolean filize) |
ChannelFormatter(org.w3c.dom.Element el,
ChannelGroupTemplate cgt) |
ChannelFormatter(org.w3c.dom.Element el,
ChannelGroupTemplate cgt,
boolean filize) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResult(edu.iris.Fissures.IfNetwork.Channel chan) |
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 ChannelFormatter |
makeSiteAndCode() |
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 ChannelFormatter()
public ChannelFormatter(org.w3c.dom.Element el) throws ConfigurationException
ConfigurationException
public ChannelFormatter(org.w3c.dom.Element el, boolean filize) throws ConfigurationException
ConfigurationException
public ChannelFormatter(org.w3c.dom.Element el, ChannelGroupTemplate cgt) throws ConfigurationException
ConfigurationException
public ChannelFormatter(org.w3c.dom.Element el, ChannelGroupTemplate cgt, boolean filize) throws ConfigurationException
ConfigurationException
public static ChannelFormatter makeSiteAndCode()
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.iris.Fissures.IfNetwork.Channel chan)
getResult
in interface ChannelTemplate