org.oddjob.arooa.standard
Class ExtendedTools

java.lang.Object
  extended by org.oddjob.arooa.standard.StandardTools
      extended by org.oddjob.arooa.standard.ExtendedTools
All Implemented Interfaces:
ArooaTools

public class ExtendedTools
extends StandardTools

Extends an existing tool set with an ArooaConverter based on the provided ArooaDescriptor.

Author:
rob

Constructor Summary
ExtendedTools(ArooaTools existing, ArooaDescriptor descriptor)
          Uses the ArooaDescriptor to create the tools.
 
Method Summary
 ArooaConverter getArooaConverter()
          Get an ArooaConverter to use.
 ExpressionParser getExpressionParser()
          Get an ExpressionParser to use.
 PropertyAccessor getPropertyAccessor()
          Get a PropertyAccessor that does type conversion during the setting of properties.
 
Methods inherited from class org.oddjob.arooa.standard.StandardTools
getEvaluator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedTools

public ExtendedTools(ArooaTools existing,
                     ArooaDescriptor descriptor)
Uses the ArooaDescriptor to create the tools.

Parameters:
descriptor -
loader -
Method Detail

getArooaConverter

public ArooaConverter getArooaConverter()
Description copied from interface: ArooaTools
Get an ArooaConverter to use.

Specified by:
getArooaConverter in interface ArooaTools
Overrides:
getArooaConverter in class StandardTools
Returns:
An ArooaConverter. Will not be null.

getPropertyAccessor

public PropertyAccessor getPropertyAccessor()
Description copied from interface: ArooaTools
Get a PropertyAccessor that does type conversion during the setting of properties.

Specified by:
getPropertyAccessor in interface ArooaTools
Overrides:
getPropertyAccessor in class StandardTools
Returns:
A PropertyAccessor. Will not be null.

getExpressionParser

public ExpressionParser getExpressionParser()
Description copied from interface: ArooaTools
Get an ExpressionParser to use.

Specified by:
getExpressionParser in interface ArooaTools
Overrides:
getExpressionParser in class StandardTools
Returns:
An ExpressionParser. Will not be null.