org.apache.commons.jxpath.ri
Class InfoSetUtil

java.lang.Object
  |
  +--org.apache.commons.jxpath.ri.InfoSetUtil

public class InfoSetUtil
extends java.lang.Object

Type conversions, XPath style.

Version:
$Revision: 1.7 $ $Date: 2003/03/11 00:59:18 $
Author:
Dmitri Plotnikov

Constructor Summary
InfoSetUtil()
           
 
Method Summary
static boolean booleanValue(java.lang.Object object)
          Converts the supplied object to boolean
static double doubleValue(java.lang.Object object)
          Converts the supplied object to double
static java.lang.Number number(java.lang.Object object)
          Converts the supplied object to Number
static java.lang.String stringValue(java.lang.Object object)
          Converts the supplied object to String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoSetUtil

public InfoSetUtil()
Method Detail

stringValue

public static java.lang.String stringValue(java.lang.Object object)
Converts the supplied object to String

number

public static java.lang.Number number(java.lang.Object object)
Converts the supplied object to Number

doubleValue

public static double doubleValue(java.lang.Object object)
Converts the supplied object to double

booleanValue

public static boolean booleanValue(java.lang.Object object)
Converts the supplied object to boolean


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.