org.exist.xpath
Class Value

java.lang.Object
  extended byorg.exist.xpath.Value
Direct Known Subclasses:
ValueBoolean, ValueNodeSet, ValueNumber, ValueSet, ValueString

public abstract class Value
extends java.lang.Object


Field Summary
static int isBoolean
           
static int isNodeList
           
static int isNumber
           
static int isString
           
static int isValueSet
           
protected  int type
           
 
Constructor Summary
Value(int type)
           
 
Method Summary
 Value get(int pos)
           
abstract  boolean getBooleanValue()
           
 int getLength()
           
abstract  org.w3c.dom.NodeList getNodeList()
           
abstract  double getNumericValue()
           
abstract  java.lang.String getStringValue()
           
 int getType()
           
 ValueSet getValueSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isNodeList

public static final int isNodeList
See Also:
Constant Field Values

isString

public static final int isString
See Also:
Constant Field Values

isNumber

public static final int isNumber
See Also:
Constant Field Values

isBoolean

public static final int isBoolean
See Also:
Constant Field Values

isValueSet

public static final int isValueSet
See Also:
Constant Field Values

type

protected int type
Constructor Detail

Value

public Value(int type)
Method Detail

getType

public int getType()

getNodeList

public abstract org.w3c.dom.NodeList getNodeList()

getStringValue

public abstract java.lang.String getStringValue()

getNumericValue

public abstract double getNumericValue()

getBooleanValue

public abstract boolean getBooleanValue()

getLength

public int getLength()

get

public Value get(int pos)

getValueSet

public ValueSet getValueSet()


Copyright (C) Wolfgang Meier. All rights reserved.