net.sf.jsfcomp.facelets.deploy.annotations
Annotation Type FaceletConverter


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface FaceletConverter

Mark a class to be deployed in facelets as a converter

Author:
Andrew Robinson (andrew)

Required Element Summary
 java.lang.String id
          Converter ID
 java.lang.String namespace
          Namespace to add the converter to
 java.lang.String tagName
          Tag name
 
Optional Element Summary
 java.lang.Class<?> forClass
          (Optional) Converter for class.
 java.lang.Class<? extends com.sun.facelets.tag.TagHandler> handlerClass
          (Optional) facelets tag handler class for this converter
 RegisterPriority registerWithFaces
          (Optional) Set how this converter will be registered with the facelet context application.
 

Element Detail

namespace

public abstract java.lang.String namespace
Namespace to add the converter to


tagName

public abstract java.lang.String tagName
Tag name


id

public abstract java.lang.String id
Converter ID

forClass

public abstract java.lang.Class<?> forClass
(Optional) Converter for class. Used during faces registration

See Also:
registerWithFaces()
Default:
void.class

handlerClass

public abstract java.lang.Class<? extends com.sun.facelets.tag.TagHandler> handlerClass
(Optional) facelets tag handler class for this converter

Default:
com.sun.facelets.tag.TagHandler.class

registerWithFaces

public abstract RegisterPriority registerWithFaces
(Optional) Set how this converter will be registered with the facelet context application. Defaults to registering if the converter id is not already registered

Default:
net.sf.jsfcomp.facelets.deploy.RegisterPriority.DEFAULT


Copyright © 2007-2008. All Rights Reserved.