org.peaseplate
Annotation Type Transformer


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Transformer

Signs a class or a method as transformer. If used on type level you can use the value attribute to specify the name of the transformer. If omitted, the name will be the class name by trimming "transformer" or "transformers" at the end. There is no need to use the Transformer annotation on type level, but you have to annotate the methods. If used on method level you can use the value attribute to specify the name of the transformer method. If omitted, the name will be the name of the method. The annotated methods must conform the following rules:

Any following parameters can be of any type and will be passed from the template.

Author:
Manfred HANTSCHEL

Optional Element Summary
 java.lang.String value
           
 

value

public abstract java.lang.String value
Default:
""


Copyright © 2008. All Rights Reserved.