Annotation Type ValueConverter


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface ValueConverter
    Annotate methods in your own AbstractDeclarativeValueConverterService to mark them as contributions to all known value converters.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String rule
      The name of the rule that is converted by this value converter.
    • Element Detail

      • rule

        java.lang.String rule
        The name of the rule that is converted by this value converter. May be a qualified name, e.g. com.acme.MySuperLang.MyDataTypeRule to provide value converters for inherited rules that are called with the explicit notation super::MyDataTypeRule or com::acme::MySuperLang::MyDataTypeRule.