org.apache.tiles.autotag.core.runtime.annotation
Annotation Type Parameter


@Retention(value=SOURCE)
@Target(value=PARAMETER)
public @interface Parameter

Specifies behaviour for a parameter of the "execute" method of a template class.

Version:
$Rev: 1044817 $ $Date: 2010-12-12 08:22:01 -0500 (Sun, 12 Dec 2010) $

Optional Element Summary
 String defaultValue
          Indicates the default value, as it will be written in Java code.
 String name
          Returns the name of the exported property name.
 boolean required
          Indicates that this parameter is required.
 

name

public abstract String name
Returns the name of the exported property name.

Default:
"USE THE SAME NAME"

required

public abstract boolean required
Indicates that this parameter is required.

Default:
false

defaultValue

public abstract String defaultValue
Indicates the default value, as it will be written in Java code.

Default:
"null"


Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.