站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.1 API 英文版文档

Converter (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档


org.jboss.seam.annotations.jsf
Annotation Type Converter


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Converter

Allows a Seam component to act as a JSF converter. The annotated class must be a Seam component, and must implement javax.faces.convert.Converter.

Author:
Gavin King

Optional Element Summary
 Class forClass
          If specified, register this component as the default converter for a type.
 String id
          The JSF converter id.
 

id

public abstract String id
The JSF converter id. Default to the component name.

Default:
""

forClass

public abstract Class forClass
If specified, register this component as the default converter for a type.

Default:
void.class