Package org.apache.anteater.test.handlers

This package implements the ContentHandler adapter system for dynamically generating an Ant task's body.

See:
          Description

Interface Summary
ContentHandler ContentHandlers are adapter classes that convert from an Object (usually Ant's 'Task' or 'Type') to a String.
 

Class Summary
ContentHandlerFactory Factory for creating ContentHandler classes.
JellyHandler A ContentHandler that processes JellyTask objects, and returns a String containing the result of executing the task.
 

Package org.apache.anteater.test.handlers Description

This package implements the ContentHandler adapter system for dynamically generating an Ant task's body. It is used in ContentHandlerTask, which is a parent class for many other Anteater tasks.

The ContentHandler system provides a pluggable system for converting a nested Task body into text. For example, one might have:

      <sendResponse>
        <jelly script="resources/jelly/hello_world.jelly"/>
      </sendResponse>
    

By registering a ContentHandler for the 'jelly' task type, one can convert the Jelly output text into body text for the 'sendResponse' type. The content handler is responsible for executing the task is handles, interrogating the task through task-specific methods, and returning the text to the caller.



Ant Functional Tester -- see Project home page for details