fr.whimtrip.ext.jwhthtmltopojo.annotation.ReplaceWith Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whimtrip-ext-htmltopojo Show documentation
Show all versions of whimtrip-ext-htmltopojo Show documentation
Fully featured highly pluggable and customizable Java html to pojo reflection converter
package fr.whimtrip.ext.jwhthtmltopojo.annotation;
import fr.whimtrip.ext.jwhthtmltopojo.impl.ReplacerDeserializer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* Part of project jwht-htmltopojo
*
*
* Used together with {@link ReplacerDeserializer},
* this annotation will provide a way to easily replace
* matching regex patterns in the input string with
* static string.
*
*
* @author Louis-wht
* @since 1.0.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD })
public @interface ReplaceWith {
/**
* @return the regex pattern to replace
*/
String value();
/**
* @return the static string to replace matching patterns with
*/
String with();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy