|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.app.action.StandardActionHandlerRegistry
public class StandardActionHandlerRegistry
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 |
---|
public StandardActionHandlerRegistry()
Method Detail |
---|
public IActionHandler lookupActionHandler(COSName actionType)
IActionHandlerRegistry
IActionHandler
for the specified actionType
.
lookupActionHandler
in interface IActionHandlerRegistry
actionType
- The type of action to be executed, for example /JavaScript
IActionHandler
able to process an action definition
of the specified type.public void registerActionHandler(IActionHandler handler)
IActionHandlerRegistry
IActionHandler
.
registerActionHandler
in interface IActionHandlerRegistry
handler
- The new handlerpublic void unregisterActionHandler(IActionHandler handler)
IActionHandlerRegistry
IActionHandler
.
unregisterActionHandler
in interface IActionHandlerRegistry
handler
- The IActionHandler
to be unregistered.public IActionHandler getDefaultHandler()
public void registerDefaultHandler(IActionHandler handler)
public List getActionHandlers()
IActionHandlerRegistry
IActionHandler
instances.
getActionHandlers
in interface IActionHandlerRegistry
IActionHandler
instances.
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |