Package edu.sc.seis.sod.status
Class StationFormatter
java.lang.Object
edu.sc.seis.sod.status.Template
edu.sc.seis.sod.status.StationFormatter
- All Implemented Interfaces:
StationTemplate
- Direct Known Subclasses:
EventStationFormatter
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResult
(edu.iris.Fissures.IfNetwork.Station station) protected Object
getTemplate
(String tag, Element el) if this class has an template for this tag, it creates it using the passed in element and returns it.static StationFormatter
protected Object
textTemplate
(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 calledMethods inherited from class edu.sc.seis.sod.status.Template
getCommonTemplate, parse, parse, setUp
-
Constructor Details
-
StationFormatter
public StationFormatter() -
StationFormatter
- Throws:
ConfigurationException
-
StationFormatter
- Throws:
ConfigurationException
-
-
Method Details
-
makeNetAndCode
-
getResult
- Specified by:
getResult
in interfaceStationTemplate
-
textTemplate
Description copied from class:Template
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
-
getTemplate
if 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
-