org.apache.commons.jexl2.examples
Class MethodPropertyTest.Foo

java.lang.Object
  extended by org.apache.commons.jexl2.examples.MethodPropertyTest.Foo
Enclosing class:
MethodPropertyTest

public static class MethodPropertyTest.Foo
extends Object

Helper example class.


Constructor Summary
MethodPropertyTest.Foo()
           
 
Method Summary
 String convert(long i)
          Gets a string from the argument.
 String get(String arg)
          Gets an arbitrary property.
 String getFoo()
          Gets foo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodPropertyTest.Foo

public MethodPropertyTest.Foo()
Method Detail

getFoo

public String getFoo()
Gets foo.

Returns:
a string.

get

public String get(String arg)
Gets an arbitrary property.

Parameters:
arg - property name.
Returns:
arg prefixed with 'This is the property '.

convert

public String convert(long i)
Gets a string from the argument.

Parameters:
i - a long.
Returns:
The argument prefixed with 'The value is : '


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.