org.richfaces.cdk.annotations
Annotation Type JsfValidator


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

Since:
Jan 13, 2010
Author:
akolonitsky

Required Element Summary
 String id
           
 
Optional Element Summary
 String[] attributes
          

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

 Description description
          

Description used by IDE.

 String generate
           
 Class<?>[] interfaces
          

Interfaces that should be implemented in the generated class.

 Tag[] tag
           
 

Element Detail

id

public abstract String id

generate

public abstract String generate
Default:
""

tag

public abstract Tag[] tag
Default:
{}

description

public abstract Description description

Description used by IDE.

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

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.