|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.type.StringToDouble
public class StringToDouble
This class converts a string to an xs:double according to the rules in XML Schema 1.0
Constructor Summary | |
---|---|
protected |
StringToDouble()
|
Method Summary | |
---|---|
static StringToDouble |
getInstance()
Get the singleton instance |
protected double |
signedPositiveInfinity()
|
double |
stringToNumber(java.lang.CharSequence s)
Convert a string to a double. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected StringToDouble()
Method Detail |
---|
public static StringToDouble getInstance()
public double stringToNumber(java.lang.CharSequence s) throws java.lang.NumberFormatException
s
- the String to be converted
java.lang.NumberFormatException
- if the value cannot be convertedprotected double signedPositiveInfinity()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |