jpel.resolver
Class InterpreterImpl

java.lang.Object
  |
  +--jpel.resolver.InterpreterImpl
All Implemented Interfaces:
Interpreter

public class InterpreterImpl
extends java.lang.Object
implements Interpreter

Implementação padrão do interpretador.


Constructor Summary
InterpreterImpl()
           
 
Method Summary
 boolean toBoolean(jpel.language.Expression expression)
           
 boolean[] toBooleanArray(jpel.language.Expression expression)
           
 java.lang.Boolean toBooleanObject(jpel.language.Expression expression)
           
 java.lang.Boolean[] toBooleanObjectArray(jpel.language.Expression expression)
           
 byte toByte(jpel.language.Expression expression)
           
 byte[] toByteArray(jpel.language.Expression expression)
           
 java.lang.Byte toByteObject(jpel.language.Expression expression)
           
 java.lang.Byte[] toByteObjectArray(jpel.language.Expression expression)
           
 char toChar(jpel.language.Expression expression)
           
 char[] toCharArray(jpel.language.Expression expression)
           
 java.lang.Character toCharObject(jpel.language.Expression expression)
           
 java.lang.Character[] toCharObjectArray(jpel.language.Expression expression)
           
 double toDouble(jpel.language.Expression expression)
           
 double[] toDoubleArray(jpel.language.Expression expression)
           
 java.lang.Double toDoubleObject(jpel.language.Expression expression)
           
 java.lang.Double[] toDoubleObjectArray(jpel.language.Expression expression)
           
 float toFloat(jpel.language.Expression expression)
           
 float[] toFloatArray(jpel.language.Expression expression)
           
 java.lang.Float toFloatObject(jpel.language.Expression expression)
           
 java.lang.Float[] toFloatObjectArray(jpel.language.Expression expression)
           
 int toInt(jpel.language.Expression expression)
           
 int[] toIntArray(jpel.language.Expression expression)
           
 java.lang.Integer toIntObject(jpel.language.Expression expression)
           
 java.lang.Integer[] toIntObjectArray(jpel.language.Expression expression)
           
 long toLong(jpel.language.Expression expression)
           
 long[] toLongArray(jpel.language.Expression expression)
           
 java.lang.Long toLongObject(jpel.language.Expression expression)
           
 java.lang.Long[] toLongObjectArray(jpel.language.Expression expression)
           
 java.lang.Object toObject(jpel.language.Expression expression)
           
 java.lang.Object[] toObjectArray(jpel.language.Expression expression)
           
 short toShort(jpel.language.Expression expression)
           
 short[] toShortArray(jpel.language.Expression expression)
           
 java.lang.Short toShortObject(jpel.language.Expression expression)
           
 java.lang.Short[] toShortObjectArray(jpel.language.Expression expression)
           
 java.lang.String toString(jpel.language.Expression expression)
           
 java.lang.String[] toStringArray(jpel.language.Expression expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpreterImpl

public InterpreterImpl()
Method Detail

toBoolean

public boolean toBoolean(jpel.language.Expression expression)
                  throws BadTypedException
Specified by:
toBoolean in interface Interpreter
BadTypedException

toBooleanObject

public java.lang.Boolean toBooleanObject(jpel.language.Expression expression)
                                  throws BadTypedException
Specified by:
toBooleanObject in interface Interpreter
BadTypedException

toBooleanArray

public boolean[] toBooleanArray(jpel.language.Expression expression)
                         throws BadTypedException
Specified by:
toBooleanArray in interface Interpreter
BadTypedException

toBooleanObjectArray

public java.lang.Boolean[] toBooleanObjectArray(jpel.language.Expression expression)
                                         throws BadTypedException
Specified by:
toBooleanObjectArray in interface Interpreter
BadTypedException

toChar

public char toChar(jpel.language.Expression expression)
            throws BadTypedException
Specified by:
toChar in interface Interpreter
BadTypedException

toCharObject

public java.lang.Character toCharObject(jpel.language.Expression expression)
                                 throws BadTypedException
Specified by:
toCharObject in interface Interpreter
BadTypedException

toCharArray

public char[] toCharArray(jpel.language.Expression expression)
                   throws BadTypedException
Specified by:
toCharArray in interface Interpreter
BadTypedException

toCharObjectArray

public java.lang.Character[] toCharObjectArray(jpel.language.Expression expression)
                                        throws BadTypedException
Specified by:
toCharObjectArray in interface Interpreter
BadTypedException

toByte

public byte toByte(jpel.language.Expression expression)
            throws BadTypedException
Specified by:
toByte in interface Interpreter
BadTypedException

toByteObject

public java.lang.Byte toByteObject(jpel.language.Expression expression)
                            throws BadTypedException
Specified by:
toByteObject in interface Interpreter
BadTypedException

toByteArray

public byte[] toByteArray(jpel.language.Expression expression)
                   throws BadTypedException
Specified by:
toByteArray in interface Interpreter
BadTypedException

toByteObjectArray

public java.lang.Byte[] toByteObjectArray(jpel.language.Expression expression)
                                   throws BadTypedException
Specified by:
toByteObjectArray in interface Interpreter
BadTypedException

toShort

public short toShort(jpel.language.Expression expression)
              throws BadTypedException
Specified by:
toShort in interface Interpreter
BadTypedException

toShortObject

public java.lang.Short toShortObject(jpel.language.Expression expression)
                              throws BadTypedException
Specified by:
toShortObject in interface Interpreter
BadTypedException

toShortArray

public short[] toShortArray(jpel.language.Expression expression)
                     throws BadTypedException
Specified by:
toShortArray in interface Interpreter
BadTypedException

toShortObjectArray

public java.lang.Short[] toShortObjectArray(jpel.language.Expression expression)
                                     throws BadTypedException
Specified by:
toShortObjectArray in interface Interpreter
BadTypedException

toInt

public int toInt(jpel.language.Expression expression)
          throws BadTypedException
Specified by:
toInt in interface Interpreter
BadTypedException

toIntObject

public java.lang.Integer toIntObject(jpel.language.Expression expression)
                              throws BadTypedException
Specified by:
toIntObject in interface Interpreter
BadTypedException

toIntArray

public int[] toIntArray(jpel.language.Expression expression)
                 throws BadTypedException
Specified by:
toIntArray in interface Interpreter
BadTypedException

toIntObjectArray

public java.lang.Integer[] toIntObjectArray(jpel.language.Expression expression)
                                     throws BadTypedException
Specified by:
toIntObjectArray in interface Interpreter
BadTypedException

toLong

public long toLong(jpel.language.Expression expression)
            throws BadTypedException
Specified by:
toLong in interface Interpreter
BadTypedException

toLongObject

public java.lang.Long toLongObject(jpel.language.Expression expression)
                            throws BadTypedException
Specified by:
toLongObject in interface Interpreter
BadTypedException

toLongArray

public long[] toLongArray(jpel.language.Expression expression)
                   throws BadTypedException
Specified by:
toLongArray in interface Interpreter
BadTypedException

toLongObjectArray

public java.lang.Long[] toLongObjectArray(jpel.language.Expression expression)
                                   throws BadTypedException
Specified by:
toLongObjectArray in interface Interpreter
BadTypedException

toFloat

public float toFloat(jpel.language.Expression expression)
              throws BadTypedException
Specified by:
toFloat in interface Interpreter
BadTypedException

toFloatObject

public java.lang.Float toFloatObject(jpel.language.Expression expression)
                              throws BadTypedException
Specified by:
toFloatObject in interface Interpreter
BadTypedException

toFloatArray

public float[] toFloatArray(jpel.language.Expression expression)
                     throws BadTypedException
Specified by:
toFloatArray in interface Interpreter
BadTypedException

toFloatObjectArray

public java.lang.Float[] toFloatObjectArray(jpel.language.Expression expression)
                                     throws BadTypedException
Specified by:
toFloatObjectArray in interface Interpreter
BadTypedException

toDouble

public double toDouble(jpel.language.Expression expression)
                throws BadTypedException
Specified by:
toDouble in interface Interpreter
BadTypedException

toDoubleObject

public java.lang.Double toDoubleObject(jpel.language.Expression expression)
                                throws BadTypedException
Specified by:
toDoubleObject in interface Interpreter
BadTypedException

toDoubleArray

public double[] toDoubleArray(jpel.language.Expression expression)
                       throws BadTypedException
Specified by:
toDoubleArray in interface Interpreter
BadTypedException

toDoubleObjectArray

public java.lang.Double[] toDoubleObjectArray(jpel.language.Expression expression)
                                       throws BadTypedException
Specified by:
toDoubleObjectArray in interface Interpreter
BadTypedException

toString

public java.lang.String toString(jpel.language.Expression expression)
                          throws BadTypedException
Specified by:
toString in interface Interpreter
BadTypedException

toStringArray

public java.lang.String[] toStringArray(jpel.language.Expression expression)
                                 throws BadTypedException
Specified by:
toStringArray in interface Interpreter
BadTypedException

toObject

public java.lang.Object toObject(jpel.language.Expression expression)
                          throws BadTypedException
Specified by:
toObject in interface Interpreter
BadTypedException

toObjectArray

public java.lang.Object[] toObjectArray(jpel.language.Expression expression)
                                 throws BadTypedException
Specified by:
toObjectArray in interface Interpreter
BadTypedException