org.richfaces.cdk.annotations
Annotation Type JsfConverter


@Retention(value=SOURCE)
@Target(value=TYPE)
public @interface JsfConverter

Author:
asmirnov@exadel.com

Optional Element Summary
 String[] attributes
          

defines fragments of faces-config.xml that contain standard attribute definitions.

 Description description
          

Description used by IDE.

 Class<?> forClass
           
 String generate
           
 String id
           
 Class<?>[] interfaces
          

Interfaces that should be implemented in the generated class.

 Tag[] tag
           
 

id

public abstract String id
Default:
""

forClass

public abstract Class<?> forClass
Default:
org.richfaces.cdk.annotations.JsfConverter.NONE.class

generate

public abstract String generate
Default:
""

description

public abstract Description description

Description used by IDE.

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

tag

public abstract Tag[] tag
Default:
{}

attributes

public abstract 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.

Returns:
Default:
{}

interfaces

public abstract Class<?>[] interfaces

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

Returns:
Default:
{}


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