RichFaces CDK Annotations 4.1.0.20111101-M4

org.richfaces.cdk.annotations
Annotation Type RendererSpecificComponent


@Retention(value=SOURCE)
public @interface RendererSpecificComponent

That annotation defines third lvel component, specific for the concrete renderer, that is generated from the concrete class defined in the JsfComponent

Author:
asmirnov@exadel.com

Optional Element Summary
 String[] attributes
          

Defines file names for fragment of faces-config.xml that contain standard attribute definitions.

 Description description
          

Component description to include into generated faces-config and taglib.

 Facet[] facets
          

Component facets.

 Event[] fires
          

 String generate
          

Name of the generated component implementation class.

 Class<?>[] interfaces
          

Interfaces that should be implemented by the generated component class.

 JsfRenderer renderer
          

JsfRenderer associated with this component.

 Tag[] tag
          

Tag description.

 Test test
          

Junit test description.

 String type
          

Type of the JSF component.

 

type

public abstract String type

Type of the JSF component.

if this value is an empty, component type would be inferred from class name.

Returns:
component type.
Default:
""

generate

public abstract String generate

Name of the generated component implementation class.

Returns:
Default:
""

description

public abstract Description description

Component description to include into generated faces-config and taglib.

Returns:
Default:
@org.richfaces.cdk.annotations.Description

test

public abstract Test test

Junit test description. Isn't used in RichFaces 4.0, reserved for future releases.

Returns:
Default:
@org.richfaces.cdk.annotations.Test(testClass="")

renderer

public abstract JsfRenderer renderer

JsfRenderer associated with this component.

Returns:
Default:
@org.richfaces.cdk.annotations.JsfRenderer

tag

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.

Returns:
Default:
@org.richfaces.cdk.annotations.Tag

facets

public abstract Facet[] facets

Component facets.

Returns:
Default:
{}

attributes

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 UIComponent and any other standard JSF classes.

Returns:
Default:
{}

interfaces

public abstract Class<?>[] interfaces

Interfaces that should be implemented by the generated component class. CDK processes all Attribute and Facet annotations in these interfaces

Returns:
Default:
{}

fires

public abstract Event[] fires

Returns:
Default:
{}

RichFaces CDK Annotations 4.1.0.20111101-M4

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