All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.ui.autoui.api.UiRendererOptions Maven / Gradle / Ivy

The newest version!
package xapi.ui.autoui.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@SuppressWarnings("rawtypes")
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE})
@Retention(RetentionPolicy.RUNTIME)
public @interface UiRendererOptions {

  Class[] renderers() default {};

  /**
   * @return true if the current set of {@link #renderers()} should be applied to
   * child nodes; when {@link UiRendererOptions} are used on a class, and {@link #isWrapper()}
   * return true, then each renderer is applied to the child members of that class (enclosed types,
   * and enclosed methods, as determined by method return type).
   * 
* In the future, package-level support will be supplied, to enable easy reusing of templates. */ boolean isWrapper() default false; boolean isHead() default false; boolean isTail() default false; Class[] validators() default {}; Class selector() default AlwaysTrue.class; String template() default ""; String[] templatekeys() default { "$name", "$value", "$0", "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$9" }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy