jPod PDF library

de.intarsys.pdf.app.annotation
Interface IAnnotationOutlet

All Known Implementing Classes:
StandardAnnotationOutlet

public interface IAnnotationOutlet

A registry for IAnnotationFactory objects.

The registry is used to look up the IAnnotationFactory via type names.


Method Summary
 IAnnotationFactory[] getAnnotationFactories()
          The list of all available IAnnotationFactory objects.
 IAnnotationFactory lookupAnnotationFactory(COSName type)
          The IAnnotationFactory for the requested annotation type or null.
 void registerAnnotationFactory(IAnnotationFactory factory)
          Register a new IAnnotationFactory object.
 void unregisterAnnotationFactory(IAnnotationFactory factory)
          Unregister a IAnnotationFactory object.
 

Method Detail

getAnnotationFactories

IAnnotationFactory[] getAnnotationFactories()
The list of all available IAnnotationFactory objects. This is not the internal data structure, so you can not manipulate directly.

Returns:
The list of all available IAnnotationFactory instances.

lookupAnnotationFactory

IAnnotationFactory lookupAnnotationFactory(COSName type)
The IAnnotationFactory for the requested annotation type or null.

Parameters:
type - An annotation type.
Returns:
The IAnnotationFactory for the requested annotation type or null.

registerAnnotationFactory

void registerAnnotationFactory(IAnnotationFactory factory)
Register a new IAnnotationFactory object.

Parameters:
factory - The factory object to be registered.

unregisterAnnotationFactory

void unregisterAnnotationFactory(IAnnotationFactory factory)
Unregister a IAnnotationFactory object.

Parameters:
factory - The factory object to be deregistered.

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.