jPod PDF library

de.intarsys.pdf.app.action
Interface IActionHandlerRegistry

All Known Implementing Classes:
StandardActionHandlerRegistry

public interface IActionHandlerRegistry

A factory for action handler objects.

The action handler factory returns a registered handler for a given action type.


Method Summary
 IActionHandler[] getActionHandlers()
          A collection of all registered IActionHandler instances.
 IActionHandler lookupActionHandler(COSName actionType)
          The IActionHandler for the specified actionType.
 void registerActionHandler(IActionHandler handler)
          Register an IActionHandler.
 void unregisterActionHandler(IActionHandler handler)
          Unregister an IActionHandler.
 

Method Detail

getActionHandlers

IActionHandler[] getActionHandlers()
A collection of all registered IActionHandler instances.

Returns:
A collection of all registered IActionHandler instances.

lookupActionHandler

IActionHandler lookupActionHandler(COSName actionType)
The IActionHandler for the specified actionType.

Parameters:
actionType - The type of action to be executed, for example /JavaScript
Returns:
The IActionHandler able to process an action definition of the specified type.

registerActionHandler

void registerActionHandler(IActionHandler handler)
Register an IActionHandler.

Parameters:
handler - The new handler

unregisterActionHandler

void unregisterActionHandler(IActionHandler handler)
Unregister an IActionHandler.

Parameters:
handler - The IActionHandler to be unregistered.

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.