@Singleton public class FloatParser extends java.lang.Object implements NumberParser<java.lang.Float>
Node into a float.INFINITY_SYMBOL_A, INFINITY_SYMBOL_B, NEGATIVE_INFINITY_SYMBOL_A, NEGATIVE_INFINITY_SYMBOL_B, POSITIVE_INFINITY_SYMBOL_A, POSITIVE_INFINITY_SYMBOL_B| Constructor and Description |
|---|
FloatParser() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull java.lang.Float |
finite(@NonNull Node node,
@NonNull java.lang.String string)
|
@NonNull java.lang.Float |
negativeInfinity(@NonNull Node node,
@NonNull java.lang.String string)
|
@NonNull java.lang.Float |
positiveInfinity(@NonNull Node node,
@NonNull java.lang.String string)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthrowingParsethrowingParsepublic @NonNull java.lang.Float negativeInfinity(@NonNull Node node, @NonNull java.lang.String string)
NumberParsernegativeInfinity in interface NumberParser<java.lang.Float>node - the nodestring - the node valuepublic @NonNull java.lang.Float finite(@NonNull Node node, @NonNull java.lang.String string) throws XMLException
NumberParserfinite in interface NumberParser<java.lang.Float>node - the nodestring - the node valueXMLException - if an exception occurred while parsingpublic @NonNull java.lang.Float positiveInfinity(@NonNull Node node, @NonNull java.lang.String string)
NumberParserpositiveInfinity in interface NumberParser<java.lang.Float>node - the nodestring - the node value