intarsys PDF library API

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
 List 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

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.

getActionHandlers

List getActionHandlers()
A collection of all registered IActionHandler instances.

Returns:
A collection of all registered IActionHandler instances.

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.