public class EventGroupTemplate extends Template implements GenericTemplate
Modifier and Type | Field and Description |
---|---|
protected EventSorter |
sorter |
Modifier | Constructor and Description |
---|---|
protected |
EventGroupTemplate() |
|
EventGroupTemplate(org.w3c.dom.Element config) |
Modifier and Type | Method and Description |
---|---|
static EventGroupTemplate |
createDefaultTemplate() |
java.lang.String |
getResult() |
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.
|
void |
parse(org.w3c.dom.Element el) |
void |
setArmStatus(java.lang.String status) |
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
|
protected void |
useDefaultConfig() |
getCommonTemplate, parse, setUp
protected EventSorter sorter
protected EventGroupTemplate()
public EventGroupTemplate(org.w3c.dom.Element config) throws ConfigurationException
ConfigurationException
public static EventGroupTemplate createDefaultTemplate()
public void parse(org.w3c.dom.Element el) throws ConfigurationException
parse
in class Template
ConfigurationException
protected void useDefaultConfig()
protected java.lang.Object getTemplate(java.lang.String tag, org.w3c.dom.Element el) throws ConfigurationException
Template
getTemplate
in class Template
ConfigurationException
public java.lang.Object textTemplate(java.lang.String text)
Template
textTemplate
in class Template
public java.lang.String getResult()
getResult
in interface GenericTemplate
public void setArmStatus(java.lang.String status)