@Singleton public class DoubleParser extends java.lang.Object implements NumberParser<java.lang.Double>
Node into a double.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 |
|---|
DoubleParser() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull java.lang.Double |
finite(@NonNull Node node,
@NonNull java.lang.String string)
|
@NonNull java.lang.Double |
negativeInfinity(@NonNull Node node,
@NonNull java.lang.String string)
|
@NonNull java.lang.Double |
positiveInfinity(@NonNull Node node,
@NonNull java.lang.String string)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthrowingParsethrowingParsepublic @NonNull java.lang.Double negativeInfinity(@NonNull Node node, @NonNull java.lang.String string)
NumberParsernegativeInfinity in interface NumberParser<java.lang.Double>node - the nodestring - the node valuepublic @NonNull java.lang.Double finite(@NonNull Node node, @NonNull java.lang.String string) throws XMLException
NumberParserfinite in interface NumberParser<java.lang.Double>node - the nodestring - the node valueXMLException - if an exception occurred while parsingpublic @NonNull java.lang.Double positiveInfinity(@NonNull Node node, @NonNull java.lang.String string)
NumberParserpositiveInfinity in interface NumberParser<java.lang.Double>node - the nodestring - the node value