Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jexl.util
Class Coercion

    java.lang.Object
      |
      +--org.apache.commons.jexl.util.Coercion

public class Coercion
extends Object

Coercion utilities for the JSTL EL-like coercion.

Constructor Summary
`Coercion()`

Method Summary
`static Boolean` | `coerceBoolean(Object val)`
`static Double` | `coerceDouble(Object val)`
`static Integer` | `coerceInteger(Object val)`
`static Long` | `coerceLong(Object val)`
`static boolean` | `isFloatingPoint(Object o)`
`static boolean` | `isNumberable(Object o)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Coercion

    public Coercion()

Method Detail

### coerceBoolean

    public static Boolean coerceBoolean(Object val)

### coerceInteger

    public static Integer coerceInteger(Object val)
                                 throws Exception

### coerceLong

    public static Long coerceLong(Object val)
                           throws Exception

### coerceDouble

    public static Double coerceDouble(Object val)
                               throws Exception

### isFloatingPoint

    public static boolean isFloatingPoint(Object o)

### isNumberable

    public static boolean isNumberable(Object o)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.