|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented @Target(value=TYPE) @Retention(value=SOURCE) public @interface JSFValidator
Used to define a jsf validator.
| Optional Element Summary | |
|---|---|
java.lang.String |
bodyContent
Indicate if the element accept inner elements or not. |
java.lang.String |
clazz
The fully-qualified-name of a concrete validator class. |
boolean |
configExcluded
Indicate that this component should not be defined on faces-config.xml. |
java.lang.String |
desc
Short description |
java.lang.String |
id
Indicate the validatorId which identifies this class. |
java.lang.String |
name
The name of the component in a page (ex: x:mycomp). |
java.lang.String |
serialuidtag
Serial uid that should be added on generated tag class |
java.lang.String |
tagClass
The tag class used for this validator, if applies. |
java.lang.String |
tagSuperclass
Tag super class that inherits the tag class |
public abstract java.lang.String id
public abstract java.lang.String name
public abstract java.lang.String tagClass
public abstract java.lang.String tagSuperclass
public abstract boolean configExcluded
public abstract java.lang.String bodyContent
public abstract java.lang.String desc
public abstract java.lang.String serialuidtag
public abstract java.lang.String clazz
This attribute is only relevant when "name" is also set, ie the annotation is indicating that a validator is really being declared.
When this attribute is not defined then it is assumed that this annotated class is the actual validator class.
When this attribute is set to something other than the name of the annotated class then the specified class is the one that the JSF validator registration in faces-config.xml will refer to. And if that class does not exist in the classpath (which will normally be the case) then code-generation will be triggered to create it.
This attribute is not inheritable.
The doclet-annotation equivalent of this attribute is named "class".
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||