no.sesat.search.query.token
Class ExactTokenPredicateImpl

java.lang.Object
  extended by no.sesat.search.query.token.AbstractTokenPredicate
      extended by no.sesat.search.query.token.ExactTokenPredicateImpl
All Implemented Interfaces:
Serializable, TokenPredicate, org.apache.commons.collections.Predicate

public final class ExactTokenPredicateImpl
extends AbstractTokenPredicate

An token predicate peer that only evaluates to true against its original token predicate on exact query matches. Must be unique by the name field.

Version:
$Id: ExactTokenPredicateImpl.java 7225 2009-04-09 00:32:20Z ssmiweve $
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface no.sesat.search.query.token.TokenPredicate
EXACT_PREFIX
 
Method Summary
 TokenPredicate exactPeer()
          A token predicate that requires an exact match against the whole query.
 String name()
          The name of the TokenPredicate.
 
Methods inherited from class no.sesat.search.query.token.AbstractTokenPredicate
equals, evaluate, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

name

public String name()
Description copied from interface: TokenPredicate
The name of the TokenPredicate. Must be uppercase. Must be unique across all skins.

Returns:
TokenPredicate name.

exactPeer

public TokenPredicate exactPeer()
Description copied from interface: TokenPredicate
A token predicate that requires an exact match against the whole query. A exact peer instance must return itself.

Returns:


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.