|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oXML.type.AbstractNode
org.oXML.type.NumberNode
ObjectBox - o:XML compiler and interpreter for more information see http://www.o-xml.org/objectbox Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd email: martin at hack.org This class has been generated from an o:XML template
| Field Summary | |
static Type |
TYPE
|
| Fields inherited from class org.oXML.type.AbstractNode |
me |
| Constructor Summary | |
NumberNode()
generated default constructor |
|
NumberNode(AbstractNode me,
Type type)
|
|
NumberNode(double value)
|
|
NumberNode(Node value)
generated constructor, called directly |
|
NumberNode(java.lang.Number value)
|
|
NumberNode(NumberNode other,
boolean deep)
generated constructor, called directly |
|
| Method Summary | |
Node |
_boolean()
|
Node |
abs()
|
Node |
acos()
|
Node |
asin()
|
Node |
atan()
|
static boolean |
booleanValue(double value)
XPath v1.0 4.3 Boolean Functions a number is true iff it is neither positive or negative zero nor NaN. |
Node |
ceiling()
|
Node |
copy(boolean deep)
|
Node |
cos()
|
Node |
exp()
|
Node |
factorial()
|
Node |
floor()
|
double |
getDouble()
|
Node |
infinite()
|
void |
init()
generated default initialiser |
void |
init(Node value)
|
void |
init(NumberNode other,
boolean deep)
|
Node |
log()
|
Node |
NaN()
|
Node |
number()
|
Node |
pow(Node power)
|
Node |
round()
|
Node |
sin()
|
Node |
sqrt()
|
Node |
string()
|
static java.lang.String |
stringValue(double num)
XPath v1.0 4.2 String Functions a number is converted to a string as follows - NaN is converted to the string 'NaN' - positive zero is converted to the string '0' - negative zero is converted to the string '0' - positive infinity is converted to the string 'Infinity' - negative infinity is converted to the string '-Infinity' - if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative - otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. |
Node |
tan()
|
| Methods inherited from class org.oXML.type.AbstractNode |
addChildNode, booleanValue, byteValue, cast, cast, equals, equals, getAttribute, getAttributes, getAttributeValue, getChildNodes, getDocument, getInstance, getName, getNextSibling, getParent, getPreviousSibling, getType, hashCode, hasInstance, insert, numberValue, removeChild, setAttribute, setAttribute, setInstance, setName, setParent, stringValue, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Type TYPE
| Constructor Detail |
public NumberNode(AbstractNode me,
Type type)
public NumberNode()
public NumberNode(double value)
public NumberNode(java.lang.Number value)
public NumberNode(NumberNode other,
boolean deep)
public NumberNode(Node value)
| Method Detail |
public void init()
init in class AbstractNodepublic double getDouble()
public static boolean booleanValue(double value)
public static final java.lang.String stringValue(double num)
public void init(NumberNode other,
boolean deep)
public void init(Node value)
public Node abs()
public Node floor()
public Node ceiling()
public Node round()
public Node sin()
public Node cos()
public Node tan()
public Node asin()
public Node acos()
public Node atan()
public Node log()
public Node sqrt()
public Node exp()
public Node pow(Node power)
public Node infinite()
public Node NaN()
public Node factorial()
public Node string()
public Node _boolean()
public Node number()
public Node copy(boolean deep)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||