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(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, setUppublic ChannelFormatter()
public ChannelFormatter(org.w3c.dom.Element el)
throws ConfigurationException
ConfigurationExceptionpublic ChannelFormatter(org.w3c.dom.Element el,
boolean filize)
throws ConfigurationException
ConfigurationExceptionpublic ChannelFormatter(org.w3c.dom.Element el,
ChannelGroupTemplate cgt)
throws ConfigurationException
ConfigurationExceptionpublic ChannelFormatter(org.w3c.dom.Element el,
ChannelGroupTemplate cgt,
boolean filize)
throws ConfigurationException
ConfigurationExceptionpublic static ChannelFormatter makeSiteAndCode()
protected java.lang.Object textTemplate(java.lang.String text)
TemplatetextTemplate in class Templateprotected java.lang.Object getTemplate(java.lang.String tag,
org.w3c.dom.Element el)
TemplategetTemplate in class Templatepublic java.lang.String getResult(Channel chan)
getResult in interface ChannelTemplate