estivate.annotations.Convert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of estivate Show documentation
Show all versions of estivate Show documentation
Estivate fills pojo from HTML with CSS Query Syntax and annotations
The newest version!
package estivate.annotations;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import estivate.core.Converter;
/**
* @author Benoit Theunissen
*
*/
@Target({ FIELD, METHOD })
@Retention(RUNTIME)
public @interface Convert {
Class extends Converter> value();
/**
*
* @return String format to pass to the converter
*/
String format() default "";
}