org.apache.lucene.gdata.search.analysis
Class HTMLStrategy

java.lang.Object
  extended by org.apache.lucene.gdata.search.analysis.ContentStrategy
      extended by org.apache.lucene.gdata.search.analysis.HTMLStrategy
Direct Known Subclasses:
XHtmlStrategy

public class HTMLStrategy
extends ContentStrategy

This ContentStrategy applies the path to the Indexable and retrieves the plain string content from the returning node. All of the nodes text content will cleaned from any html tags.

Author:
Simon Willnauer

Field Summary
 
Fields inherited from class org.apache.lucene.gdata.search.analysis.ContentStrategy
config, content, fieldName, index, store
 
Constructor Summary
protected HTMLStrategy(IndexSchemaField fieldConfiguration)
           
 
Method Summary
 void processIndexable(Indexable<? extends Node,? extends ServerBaseEntry> indexable)
           
 
Methods inherited from class org.apache.lucene.gdata.search.analysis.ContentStrategy
createLuceneField, getFieldStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLStrategy

protected HTMLStrategy(IndexSchemaField fieldConfiguration)
Method Detail

processIndexable

public void processIndexable(Indexable<? extends Node,? extends ServerBaseEntry> indexable)
                      throws NotIndexableException
Specified by:
processIndexable in class ContentStrategy
Throws:
NotIndexableException
See Also:
ContentStrategy.processIndexable(org.apache.lucene.gdata.search.analysis.Indexable)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.