intarsys PDF library API

de.intarsys.pdf.app.action
Class StandardActionHandlerRegistry

java.lang.Object
  extended by de.intarsys.pdf.app.action.StandardActionHandlerRegistry
All Implemented Interfaces:
IActionHandlerRegistry

public class StandardActionHandlerRegistry
extends Object
implements IActionHandlerRegistry

The default implementation for a action handler factory.


Constructor Summary
StandardActionHandlerRegistry()
           
 
Method Summary
 List getActionHandlers()
          A collection of all registered IActionHandler instances.
 IActionHandler getDefaultHandler()
           
 IActionHandler lookupActionHandler(COSName actionType)
          The IActionHandler for the specified actionType.
 void registerActionHandler(IActionHandler handler)
          Register an IActionHandler.
 void registerDefaultHandler(IActionHandler handler)
           
 void unregisterActionHandler(IActionHandler handler)
          Unregister an IActionHandler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardActionHandlerRegistry

public StandardActionHandlerRegistry()
Method Detail

lookupActionHandler

public IActionHandler lookupActionHandler(COSName actionType)
Description copied from interface: IActionHandlerRegistry
The IActionHandler for the specified actionType.

Specified by:
lookupActionHandler in interface IActionHandlerRegistry
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

public void registerActionHandler(IActionHandler handler)
Description copied from interface: IActionHandlerRegistry
Register an IActionHandler.

Specified by:
registerActionHandler in interface IActionHandlerRegistry
Parameters:
handler - The new handler

unregisterActionHandler

public void unregisterActionHandler(IActionHandler handler)
Description copied from interface: IActionHandlerRegistry
Unregister an IActionHandler.

Specified by:
unregisterActionHandler in interface IActionHandlerRegistry
Parameters:
handler - The IActionHandler to be unregistered.

getDefaultHandler

public IActionHandler getDefaultHandler()

registerDefaultHandler

public void registerDefaultHandler(IActionHandler handler)

getActionHandlers

public List getActionHandlers()
Description copied from interface: IActionHandlerRegistry
A collection of all registered IActionHandler instances.

Specified by:
getActionHandlers in interface IActionHandlerRegistry
Returns:
A collection of all registered IActionHandler instances.

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.