A SearchTerm object stores metadata around a single piece of text to be located. Search engines like Google capture more information than the simple search text to be located. This object tracks three other pieces of metadata in addition to the text to be located:
{@link #isNegated()} returns true if the search term shouldNOT appear within the target text
{@link #isRequired()} returns true if the search term MUST beused and cannot be discarded for any reason. (sometimes search engines discard frivolous search terms like "and", "of", and "the".
{@link #getField()} controls the TextFilterator that produces thevalues to be searched when locating this SearchTerm. Specifically, a null Field indicates the TextFilterator of the {@link TextMatcher} will be used to produce values to be searched.A non-null Field will be used to obtain the TextFilterator that produces the values to be searched.
Base class for Terms in a parse tree used to represent a search condition. This class is Serializable to allow for the short term persistence of searches between Sessions; this is not intended for long-term persistence.
@version $Rev: 125583 $ $Date: 2005-01-18 20:44:27 -0700 (Tue, 18 Jan 2005) $
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.