java.lang.Object
com.atlassian.confluence.impl.search.summary.NoOpEncoder
All Implemented Interfaces:
org.apache.lucene.search.highlight.Encoder

public class NoOpEncoder extends Object implements org.apache.lucene.search.highlight.Encoder
Encoder that does nothing on input string. This is used to bypass html encoding in highlighter
Since:
5.10.5
  • Constructor Details

    • NoOpEncoder

      public NoOpEncoder()
  • Method Details

    • encodeText

      public String encodeText(String s)
      Specified by:
      encodeText in interface org.apache.lucene.search.highlight.Encoder