Class HTMLFragment

  • All Implemented Interfaces:
    AutoCompletionDisplay

    public class HTMLFragment
    extends Object
    implements AutoCompletionDisplay
    An auto-completion display type which displays an HTML fragment as the suggestion. Note that the supplier is responsible for ensuring data sourced from any untrusted location has been appropriately sanitized.
    • Field Detail

      • html

        @NonNull
        private @NonNull String html
    • Constructor Detail

      • HTMLFragment

        public HTMLFragment​(@NonNull
                            @NonNull String html)
    • Method Detail

      • getHtml

        @NonNull
        public @NonNull String getHtml()
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object