Class FloatType
- java.lang.Object
-
- edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType
-
- edu.sc.seis.seisFile.fdsnws.stationxml.FloatType
-
public class FloatType extends FloatNoUnitType
a float value with optional unit and errors.
-
-
Constructor Summary
Constructors Constructor Description FloatType(float value, java.lang.String unit, java.lang.Float plusError, java.lang.Float minusError)
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUnit()
java.lang.String
toString()
-
Methods inherited from class edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType
getMinusError, getPlusError, getValue, hasMinusError, hasPlusError
-
-
-
-
Constructor Detail
-
FloatType
public FloatType(float value, java.lang.String unit, java.lang.Float plusError, java.lang.Float minusError)
-
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
-
-