|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ucl.xpath.types.AnyType
org.ucl.xpath.types.AnySimpleType
org.ucl.xpath.types.AnyAtomicType
org.ucl.xpath.types.CtrType
org.ucl.xpath.types.NumericType
A representation of the NumericType datatype
Constructor Summary | |
NumericType()
|
Method Summary | |
abstract NumericType |
abs()
Absolutes the number stored |
abstract NumericType |
ceiling()
Returns the smallest integer greater than the number stored |
abstract NumericType |
floor()
Returns the largest integer smaller than the number stored |
protected AnyType |
get_single_arg(ResultSequence rs)
|
static AnyType |
get_single_type(AnyType at,
java.lang.Class type)
Check whether the supplied node is of the supplied type |
static AnyType |
get_single_type(ResultSequence rs,
java.lang.Class type)
Check whether first node in supplied ResultSequence is of the supplied type |
abstract NumericType |
round_half_to_even()
Returns the closest integer of the number stored. |
abstract NumericType |
round()
Returns the closest integer of the number stored. |
abstract ResultSequence |
unary_minus()
Creates a new ResultSequence representing the negation of the number stored |
abstract boolean |
zero()
Check whether node represnts 0 |
Methods inherited from class org.ucl.xpath.types.CtrType |
constructor, type_name |
Methods inherited from class org.ucl.xpath.types.AnyType |
string_type, string_value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ucl.xpath.function.CmpEq |
eq |
Methods inherited from interface org.ucl.xpath.function.CmpGt |
gt |
Methods inherited from interface org.ucl.xpath.function.CmpLt |
lt |
Methods inherited from interface org.ucl.xpath.function.MathPlus |
plus |
Methods inherited from interface org.ucl.xpath.function.MathMinus |
minus |
Methods inherited from interface org.ucl.xpath.function.MathTimes |
times |
Methods inherited from interface org.ucl.xpath.function.MathDiv |
div |
Methods inherited from interface org.ucl.xpath.function.MathIDiv |
idiv |
Methods inherited from interface org.ucl.xpath.function.MathMod |
mod |
Constructor Detail |
public NumericType()
Method Detail |
public abstract boolean zero()
public abstract ResultSequence unary_minus()
public abstract NumericType abs()
public abstract NumericType ceiling()
public abstract NumericType floor()
public abstract NumericType round()
public abstract NumericType round_half_to_even()
protected AnyType get_single_arg(ResultSequence rs) throws DynamicError
DynamicError
public static AnyType get_single_type(AnyType at, java.lang.Class type) throws DynamicError
at
- The node being testedtype
- The type expected
DynamicError
- If node being tested is not of expected typepublic static AnyType get_single_type(ResultSequence rs, java.lang.Class type) throws DynamicError
rs
- The node being testedtype
- The type expected
DynamicError
- If node being tested is not of expected type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |