Package org.apache.commons.jxpath.ri

# Class InfoSetUtil

java.lang.Object
org.apache.commons.jxpath.ri.InfoSetUtil

public class InfoSetUtil extends Object
Type conversions, XPath style.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InfoSetUtil()`
  Deprecated.
  Will be private in the next major version.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `booleanValue(Object object)`
  Converts the supplied object to boolean.
  `static double`
  `doubleValue(Object object)`
  Converts the supplied object to double.
  `static Number`
  `number(Object object)`
  Converts the supplied object to Number.
  `static String`
  `stringValue(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 Details

  - ### InfoSetUtil

    @Deprecated public InfoSetUtil()
    Deprecated.
    Will be private in the next major version.
    Constructs a new instance.

- ## Method Details

  - ### booleanValue

    public static boolean booleanValue(Object object)
    Converts the supplied object to boolean.
    Parameters:
      `object` - to convert
    Returns:
      boolean

  - ### doubleValue

    public static double doubleValue(Object object)
    Converts the supplied object to double.
    Parameters:
      `object` - to convert
    Returns:
      double

  - ### number

    public static Number number(Object object)
    Converts the supplied object to Number.
    Parameters:
      `object` - to convert
    Returns:
      Number result

  - ### stringValue

    public static String stringValue(Object object)
    Converts the supplied object to String.
    Parameters:
      `object` - to convert
    Returns:
      String value