@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ConverterFor
Example:
@ConverterFor("myFormat")
public class MyConverter extends AbstractConverter {
...
}
asciidoctor.javaConverterRegistry().register(MyConverter.class);
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
UNDEFINED |
public abstract java.lang.String format
suffix()
is defined to avoid the parameter named value()
.
Example:
@ConverterFor(format = "myFormat", suffix = "mine")
public class MyConverter extends AbstractConverter {
...
}