## org.apache.el.lang
Class ELSupport

    java.lang.Object
      org.apache.el.lang.ELSupport

Direct Known Subclasses:
  SimpleNode

    public class ELSupport

extends java.lang.Object

A helper class that implements the EL Specification

Version:
  $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $
Author:
  Jacob Hookom [jacob@hookom.net]

Constructor Summary
`ELSupport()`

Method Summary
`static void` `checkType(java.lang.Object obj, java.lang.Class type)`
`static java.lang.Boolean` `coerceToBoolean(java.lang.Object obj)`
`static java.lang.Character` `coerceToCharacter(java.lang.Object obj)`
`static java.lang.Enum` `coerceToEnum(java.lang.Object obj, java.lang.Class type)`
`protected static java.lang.Number` `coerceToNumber(java.lang.Number number, java.lang.Class type)`
`static java.lang.Number` `coerceToNumber(java.lang.Object obj)`
`static java.lang.Number` `coerceToNumber(java.lang.Object obj, java.lang.Class type)`
`protected static java.lang.Number` `coerceToNumber(java.lang.String val, java.lang.Class type)`
`static java.lang.String` `coerceToString(java.lang.Object obj)`
`static java.lang.Object` `coerceToType(java.lang.Object obj, java.lang.Class type)`
`static int` `compare(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `containsNulls(java.lang.Object[] obj)`
`static boolean` `equals(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `isBigDecimalOp(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `isBigIntegerOp(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `isDoubleOp(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `isDoubleStringOp(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `isLongOp(java.lang.Object obj0, java.lang.Object obj1)`
`static boolean` `isStringFloat(java.lang.String str)`
`static void` `throwUnhandled(java.lang.Object base, java.lang.Object property)`
`static java.lang.Number` `toFloat(java.lang.String value)`
`static java.lang.Number` `toNumber(java.lang.String value)`

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

Constructor Detail

### ELSupport

    public ELSupport()

Method Detail

### throwUnhandled

    public static final void throwUnhandled(java.lang.Object base,
                                            java.lang.Object property)
                                     throws javax.el.ELException

  Throws:
    `javax.el.ELException`

### compare

    public static final int compare(java.lang.Object obj0,
                                    java.lang.Object obj1)
                             throws javax.el.ELException

  Parameters:
    `obj0` -
    `obj1` -
  Returns:
  Throws:
    `EvaluationException`
    `javax.el.ELException`

### equals

    public static final boolean equals(java.lang.Object obj0,
                                       java.lang.Object obj1)
                                throws javax.el.ELException

  Parameters:
    `obj0` -
    `obj1` -
  Returns:
  Throws:
    `EvaluationException`
    `javax.el.ELException`

### coerceToEnum

    public static final java.lang.Enum coerceToEnum(java.lang.Object obj,
                                                    java.lang.Class type)

  Parameters:
    `obj` -
    `type` -
  Returns:

### coerceToBoolean

    public static final java.lang.Boolean coerceToBoolean(java.lang.Object obj)
                                                   throws java.lang.IllegalArgumentException

  Parameters:
    `obj` -
  Returns:
  Throws:
    `java.lang.IllegalArgumentException`

### coerceToCharacter

    public static final java.lang.Character coerceToCharacter(java.lang.Object obj)
                                                       throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### coerceToNumber

    public static final java.lang.Number coerceToNumber(java.lang.Object obj)

### coerceToNumber

    protected static final java.lang.Number coerceToNumber(java.lang.Number number,
                                                           java.lang.Class type)
                                                    throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### coerceToNumber

    public static final java.lang.Number coerceToNumber(java.lang.Object obj,
                                                        java.lang.Class type)
                                                 throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### coerceToNumber

    protected static final java.lang.Number coerceToNumber(java.lang.String val,
                                                           java.lang.Class type)
                                                    throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### coerceToString

    public static final java.lang.String coerceToString(java.lang.Object obj)

  Parameters:
    `obj` -
  Returns:

### checkType

    public static final void checkType(java.lang.Object obj,
                                       java.lang.Class type)
                                throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### coerceToType

    public static final java.lang.Object coerceToType(java.lang.Object obj,
                                                      java.lang.Class type)
                                               throws java.lang.IllegalArgumentException

  Throws:
    `java.lang.IllegalArgumentException`

### containsNulls

    public static final boolean containsNulls(java.lang.Object[] obj)

  Parameters:
    `obj` -
  Returns:

### isBigDecimalOp

    public static final boolean isBigDecimalOp(java.lang.Object obj0,
                                               java.lang.Object obj1)

### isBigIntegerOp

    public static final boolean isBigIntegerOp(java.lang.Object obj0,
                                               java.lang.Object obj1)

### isDoubleOp

    public static final boolean isDoubleOp(java.lang.Object obj0,
                                           java.lang.Object obj1)

### isDoubleStringOp

    public static final boolean isDoubleStringOp(java.lang.Object obj0,
                                                 java.lang.Object obj1)

### isLongOp

    public static final boolean isLongOp(java.lang.Object obj0,
                                         java.lang.Object obj1)

### isStringFloat

    public static final boolean isStringFloat(java.lang.String str)

### toFloat

    public static final java.lang.Number toFloat(java.lang.String value)

### toNumber

    public static final java.lang.Number toNumber(java.lang.String value)

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.