public class ChannelGroupTemplate extends Template implements GenericTemplate
Constructor and Description |
---|
ChannelGroupTemplate(org.w3c.dom.Element el) |
Modifier and Type | Method and Description |
---|---|
void |
change(Channel chan,
Status status) |
java.lang.String |
getResult() |
java.lang.String |
getStatus(Channel chan) |
java.lang.Object |
getTemplate(java.lang.String tag,
org.w3c.dom.Element element)
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 ChannelGroupTemplate(org.w3c.dom.Element el) throws ConfigurationException
ConfigurationException
public java.lang.String getResult()
getResult
in interface GenericTemplate
protected java.lang.Object textTemplate(java.lang.String text)
Template
textTemplate
in class Template
public java.lang.String getStatus(Channel chan)
public java.lang.Object getTemplate(java.lang.String tag, org.w3c.dom.Element element) throws ConfigurationException
Template
getTemplate
in class Template
ConfigurationException