Package org.richfaces.cdk.annotations

Java annotations used by the CDK.

See:
          Description

Class Summary
JsfConverter.NONE  
Signature.NONE  
TagLibrary.NONE  
 

Enum Summary
TagType  
TestType

Types of automatically generated tests.

 

Annotation Types Summary
Alias

Attribute aliases.

Attribute

Description

Description used that would be used in IDE to display.

Event

This annotation tells CDK to generate event-related classes: Event listener interface Event source interface Event tag handler and binding wrapper.

EventName

Facet

Function

This annotation defines static method or all public static methods in the annotated class as EL functions.

JsfBehavior

JsfBehaviorRenderer

JsfComponent

That annotation marks class as JSF component.

JsfConverter

JsfRenderer

The presence of this annotation in the JSF component class associated particular renderer with component.

JsfValidator  
RendererSpecificComponent

That annotation defines class that is generated from the concrete class defined in the JsfComponent

Signature

This annotation defines a Java method signature for attributes that hold EL MethodExpression values.

Tag

TagLibrary This annotation defines taglib for which all tags for JSF components from that packages belong to
Test

Mark component class or method for automated testing.

 

Package org.richfaces.cdk.annotations Description

Java annotations used by the CDK.

Class-level annotations:

Mandatory:

@JsfComponent("component.Type") or @javax.faces.component.FacesComponent("component.Type").

Optional:

Attribute level annotations ( for getter or setter level ):

Facet annotations.

There are two methods to define component facet. At the class level, developer could use @{@link Facets annotations. It is also possible to define facet getter/setter methods for facet and mark one of them with @{@link Facet} annotation.



Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.