Class PlainText

  • All Implemented Interfaces:
    AutoCompletionDisplay

    public class PlainText
    extends Object
    implements AutoCompletionDisplay
    An auto-completion display type which provides some plain text which will be displayed as the auto-completion suggestion. The content provided will be HTML encoded during presentation, preventing any HTML tags being interpreted in this display.
    • Field Detail

      • text

        @NonNull
        private @NonNull String text
    • Constructor Detail

      • PlainText

        public PlainText​(@NonNull
                         @NonNull String text)
    • Method Detail

      • getText

        @NonNull
        public @NonNull String getText()
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object