Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
public class: SimpleHTMLEncoder [javadoc | source]
java.lang.Object
   org.apache.lucene.search.highlight.SimpleHTMLEncoder

All Implemented Interfaces:
    Encoder

Simple Encoder implementation to escape text for HTML output
Constructor:
 public SimpleHTMLEncoder() 
Method from org.apache.lucene.search.highlight.SimpleHTMLEncoder Summary:
encodeText,   htmlEncode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.highlight.SimpleHTMLEncoder Detail:
 public String encodeText(String originalText) 
 public static final String htmlEncode(String plainText) 
    Encode string into HTML