|
RichFaces CDK Annotations 4.1.0.20111101-M4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=SOURCE) @Target(value=TYPE) public @interface JsfConverter
This annotation defines concrete class as JSF Converter, or abstract class as the base for generated Converter
implementation.
| Optional Element Summary | |
|---|---|
String[] |
attributes
Defines file names for fragment of faces-config.xml that contain standard attribute definitions. |
Description |
description
Converter description to include into generated faces-config and taglib. |
Class<?> |
forClass
represents the class for which a Converter class will be registered. |
String |
generate
fully qualified class name of the generated Converter implementation. |
String |
id
The "converter-id" element represents the identifier under which the corresponding Converter class should be registered. |
Class<?>[] |
interfaces
Interfaces that should be implemented in the generated class. |
Tag[] |
tag
Tag description. |
public abstract String id
The "converter-id" element represents the identifier under which the corresponding Converter class should be registered.
public abstract Class<?> forClass
represents the class for which a Converter class will be registered.
public abstract String generate
fully qualified class name of the generated Converter implementation. Default value means nothing to genrate from concrete class, or infer name by convention for abstract class.
public abstract Description description
Converter description to include into generated faces-config and taglib.
public abstract Tag[] tag
Tag description. If generated tags require special handlers, provide separate description for every type of tag, JSP and
Facelets. Otherwise, the only one tag tag description with name and type TagType.All.
public abstract String[] attributes
Defines file names for fragment of faces-config.xml that contain standard attribute definitions. All names relative to the META-INF/cdk/attributes/ folder in classpath. CDK also tries to read META-INF/cdk/attributes/[classname].xml file for all component superclasses and interfaces. Therefore, it is not necessary to explicitly include definitions for Converter and any other standard JSF classes.
public abstract Class<?>[] interfaces
Interfaces that should be implemented in the generated class. CDK processes all Attribute annotations in these
interfaces
|
RichFaces CDK Annotations 4.1.0.20111101-M4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||