Annotation Type JsxConstructorAlias


  • @Retention(RUNTIME)
    @Target({CONSTRUCTOR,METHOD})
    public @interface JsxConstructorAlias
    An annotation to mark a Java method as JavaScript constructor.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String alias
      The JavaScript property name.
    • Element Detail

      • alias

        java.lang.String alias
        The JavaScript property name.
        Returns:
        the property name
      • value

        SupportedBrowser[] value
        The SupportedBrowsers supported by this constructor.
        Returns:
        the SupportedBrowsers
        Default:
        {org.htmlunit.javascript.configuration.SupportedBrowser.CHROME, org.htmlunit.javascript.configuration.SupportedBrowser.EDGE, org.htmlunit.javascript.configuration.SupportedBrowser.FF, org.htmlunit.javascript.configuration.SupportedBrowser.FF_ESR}