org.japano.metadata.annotation
Annotation Type JapanoOutput


@Target(value=METHOD)
@Documented
@Retention(value=SOURCE)
public @interface JapanoOutput

Can be used in subclasses of PageNode to mark a method as output tag.

Version:
$Id: JapanoOutput.java,v 1.7 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Optional Element Summary
 java.lang.String[] properties
          If this is given there is no defined output tag for the method itself but for one output tag is defined for every property chain given.
 java.lang.String[] required
          Comma seperated list of method parameters which are required.
 

required

public abstract java.lang.String[] required
Comma seperated list of method parameters which are required. The tag attributes created for these parameters are set to be required.

Default:
{}

properties

public abstract java.lang.String[] properties
If this is given there is no defined output tag for the method itself but for one output tag is defined for every property chain given. If a Methid User getUser() would be marked with @JapanoOutput ( properties={ "alias", "eMail" } ) output tags for getUser().getAlias() and getUser().getEMail() would be created.

Default:
{}