Package edu.sc.seis.sod.status
Class SiteGroupTemplate
java.lang.Object
edu.sc.seis.sod.status.Template
edu.sc.seis.sod.status.SiteGroupTemplate
- All Implemented Interfaces:
GenericTemplate
public class SiteGroupTemplate extends Template implements GenericTemplate
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SiteGroupTemplate(org.w3c.dom.Element el)
-
Method Summary
Modifier and Type Method Description void
change(edu.iris.Fissures.IfNetwork.Site site, Status status)
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.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
-
Constructor Details
-
Method Details
-
getTemplate
protected java.lang.Object getTemplate(java.lang.String tag, org.w3c.dom.Element el) throws ConfigurationExceptionif this class has an template for this tag, it creates it using the passed in element and returns it. Otherwise it returns null.- Overrides:
getTemplate
in classTemplate
- Throws:
ConfigurationException
-
textTemplate
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- Specified by:
textTemplate
in classTemplate
-
getResult
public java.lang.String getResult()- Specified by:
getResult
in interfaceGenericTemplate
-
change
-