org.apache.droids.parse
Class ParseImpl

Package class diagram package ParseImpl
java.lang.Object
  extended by org.apache.droids.parse.ParseImpl
All Implemented Interfaces:
Parse

public class ParseImpl
extends Object
implements Parse

Default implementation of Parse


Constructor Summary
ParseImpl(String text, ParseData parseData)
          Create a new instance of a Parse for the given text and ParseData
 
Method Summary
 ParseData getData()
          Other data extracted from the page.
 String getText()
          The textual content of the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseImpl

public ParseImpl(String text,
                 ParseData parseData)
Create a new instance of a Parse for the given text and ParseData

Parameters:
text - the textual representation of the task
parseData -
Method Detail

getData

public ParseData getData()
Description copied from interface: Parse
Other data extracted from the page.

Specified by:
getData in interface Parse
Returns:
the processed parse data.
See Also:
ParseData

getText

public String getText()
Description copied from interface: Parse
The textual content of the page. This is indexed, searched, and used when generating snippets.

Specified by:
getText in interface Parse
Returns:
the textual representation of the underlying page.


Copyright © 2008 The Apache Software Foundation