public class CPDFAnnotImplRegistry
extends java.lang.Object
Annotation display entity extends fromCPDFAnnotImpl
Annotation addition class extends fromIAnnotAttachHelper
| Constructor and Description |
|---|
CPDFAnnotImplRegistry() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends IAnnotAttachHelper> |
getAnnotAttachHelper(java.lang.Class<? extends CPDFAnnotation> clazz)
Gets corresponding instance of
dest annotation that is used for creating current annotation class. |
java.lang.Class<? extends CPDFBaseAnnotImpl> |
getAnnotImpl(java.lang.Class<? extends CPDFAnnotation> clazz)
Gets corresponding instance of
dest annotation that is used for rendering and responding to event. |
CPDFAnnotImplRegistry |
registAttachHelper(java.lang.Class<? extends CPDFAnnotation> dest,
java.lang.Class<? extends IAnnotAttachHelper> attachHelper)
Register custom annotation addition class.
|
CPDFAnnotImplRegistry |
registImpl(java.lang.Class<? extends CPDFAnnotation> dest,
java.lang.Class<? extends CPDFAnnotImpl> render)
Register custom annotation render.
|
public CPDFAnnotImplRegistry registImpl(java.lang.Class<? extends CPDFAnnotation> dest, java.lang.Class<? extends CPDFAnnotImpl> render)
dest - Target annotation class, extend fromCPDFAnnotationrender - dest Corresponding annotation class that is used for rendering and responding to event, extend fromCPDFAnnotImplpublic CPDFAnnotImplRegistry registAttachHelper(java.lang.Class<? extends CPDFAnnotation> dest, java.lang.Class<? extends IAnnotAttachHelper> attachHelper)
dest - Destination annotation class, extend fromCPDFAnnotationattachHelper - destCorresponding class of annotation that is used for creating current annotation, extend fromIAnnotAttachHelperpublic java.lang.Class<? extends CPDFBaseAnnotImpl> getAnnotImpl(java.lang.Class<? extends CPDFAnnotation> clazz)
dest annotation that is used for rendering and responding to event.clazz - Target annotation, extend fromCPDFAnnotationdest annotation that is used for rendering and responding to event.public java.lang.Class<? extends IAnnotAttachHelper> getAnnotAttachHelper(java.lang.Class<? extends CPDFAnnotation> clazz)
dest annotation that is used for creating current annotation class.clazz - Target annotation, extend fromCPDFAnnotationdest annotation that is used for creating current annotation class.