org.modeshape.common.annotation
Annotation Type Category


@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD,CONSTRUCTOR,PACKAGE,TYPE})
public @interface Category

Annotation that can be used provide a human-readable category.


Required Element Summary
 Class<?> i18n
          The class that contains the I18n instances used for internationalization.
 String value
          The label for the element.
 

Element Detail

value

public abstract String value
The label for the element. This value can either be the literal label, or it can be the identifier of an I18n instance on the non-null i18n() I18n container class.

Returns:
the issue

i18n

public abstract Class<?> i18n
The class that contains the I18n instances used for internationalization. This may be null if the description is a literal value.

Returns:
the class that contains the I18n instance identified by the value()


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