|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=SOURCE) public @interface RendererSpecificComponent
That annotation defines class that is generated from the concrete class defined in the JsfComponent
| Optional Element Summary | |
|---|---|
java.lang.String[] |
attributes
defines fragments of faces-config.xml that contain standard attribute definitions. |
Description |
description
Description used by IDE. |
Facet[] |
facets
Component facets. |
java.lang.String |
generate
Name of the generated component implementation class. |
java.lang.Class<?>[] |
interfaces
Interfaces that should be implemented in the generated component class. |
JsfRenderer |
renderer
JsfRenderer associated with this component. |
Tag[] |
tag
View Description Language, JSP or Facelets, tags. |
Test |
test
Cenerated Junit test. |
java.lang.String |
type
Type of the component. |
public abstract java.lang.String type
Type of the component. This is mandatory parameter because CDK uses component-type as primary key for components library model.
TODO if this value is an empty, component type will be inferred from class name.
public abstract java.lang.String generate
Name of the generated component implementation class.
public abstract Description description
Description used by IDE.
public abstract Test test
Cenerated Junit test.
public abstract JsfRenderer renderer
JsfRenderer associated with this component.
public abstract Tag[] tag
View Description Language, JSP or Facelets, tags.
public abstract Facet[] facets
Component facets.
public abstract java.lang.String[] attributes
defines fragments of faces-config.xml that contain standard attribute definitions. CDK also tries to read META-INF/cdk/attributes/[classname].xml file for all component superclasses and interfaces, therefore it is not necessary to explicit include definitions for UIComponent and any other standard JSF classes. CDK defines couple of its own "urn" namespaces: "urn:resource:" for classpath resources, "urn:config:" for for project configuration folder and "urn:attributes:" for META-INF/cdk/attributes/ in the annotations library.
public abstract java.lang.Class<?>[] interfaces
Interfaces that should be implemented in the generated component class. CDK processes all Attribute and
Facet annotations in these interfaces
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||