edu.sc.seis.seisFile.fdsnws.stationxml
Class FloatType

java.lang.Object
  extended by edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType
      extended by edu.sc.seis.seisFile.fdsnws.stationxml.FloatType

public class FloatType
extends FloatNoUnitType

a float value with optional unit and errors.


Constructor Summary
FloatType(javax.xml.stream.XMLEventReader reader, java.lang.String tagName)
           
FloatType(javax.xml.stream.XMLEventReader reader, java.lang.String tagName, java.lang.String fixedUnit)
           
 
Method Summary
 java.lang.String getUnit()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType
getMinusError, getPlusError, getTagName, getValue, hasMinusError, hasPlusError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FloatType

public FloatType(javax.xml.stream.XMLEventReader reader,
                 java.lang.String tagName)
          throws StationXMLException,
                 javax.xml.stream.XMLStreamException
Throws:
StationXMLException
javax.xml.stream.XMLStreamException

FloatType

public FloatType(javax.xml.stream.XMLEventReader reader,
                 java.lang.String tagName,
                 java.lang.String fixedUnit)
          throws StationXMLException,
                 javax.xml.stream.XMLStreamException
Throws:
StationXMLException
javax.xml.stream.XMLStreamException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getUnit

public java.lang.String getUnit()