edu.berkeley.guir.papier_mache.assoc
Class AcceptAllClassifier

java.lang.Object
  extended by edu.berkeley.guir.papier_mache.assoc.ObjectClassifier
      extended by edu.berkeley.guir.papier_mache.assoc.AcceptAllClassifier
All Implemented Interfaces:
edu.berkeley.guir.lib.util.ToShortStringable

public class AcceptAllClassifier
extends ObjectClassifier

Author:
Jack Li ( jack(AT)eecs{DOT}berkeley{DOT}edu )

Nested Class Summary
 
Nested classes inherited from class edu.berkeley.guir.papier_mache.assoc.ObjectClassifier
ObjectClassifier.AcceptAllClassifier
 
Field Summary
 
Fields inherited from class edu.berkeley.guir.papier_mache.assoc.ObjectClassifier
FALSE, TRUE
 
Constructor Summary
AcceptAllClassifier()
           
 
Method Summary
 double isMemberOfClass(Phob phob)
           
 void setParameter(java.lang.String paramName, java.lang.String paramValue)
          Used when unmarshalling an XML file.
 java.lang.String toShortString()
           
 
Methods inherited from class edu.berkeley.guir.papier_mache.assoc.ObjectClassifier
getIcon, getView, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcceptAllClassifier

public AcceptAllClassifier()
Method Detail

isMemberOfClass

public double isMemberOfClass(Phob phob)
Specified by:
isMemberOfClass in class ObjectClassifier

toShortString

public java.lang.String toShortString()
Specified by:
toShortString in interface edu.berkeley.guir.lib.util.ToShortStringable
Specified by:
toShortString in class ObjectClassifier

setParameter

public void setParameter(java.lang.String paramName,
                         java.lang.String paramValue)
Description copied from class: ObjectClassifier
Used when unmarshalling an XML file. Subclasses implement this so that the unmarshaller can set all of the parameter fields. The default behavior is to throw an error that the parameter is not a field of the class. If a classifier does not accept a parameter, it should call super.setParameter(), which will invoke this error handler.

Overrides:
setParameter in class ObjectClassifier
Parameters:
paramName - the name of the parameter to set
paramValue - the value of the parameter