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 fromCPDFAnnotation
render
- dest
Corresponding annotation class that is used for rendering and responding to event, extend fromCPDFAnnotImpl
public CPDFAnnotImplRegistry registAttachHelper(java.lang.Class<? extends CPDFAnnotation> dest, java.lang.Class<? extends IAnnotAttachHelper> attachHelper)
dest
- Destination annotation class, extend fromCPDFAnnotation
attachHelper
- dest
Corresponding class of annotation that is used for creating current annotation, extend fromIAnnotAttachHelper
public 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 fromCPDFAnnotation
dest
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 fromCPDFAnnotation
dest
annotation that is used for creating current annotation class.