edu.berkeley.guir.papier_mache.assoc
Class AcceptAllClassifier
java.lang.Object
edu.berkeley.guir.papier_mache.assoc.ObjectClassifier
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 )
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AcceptAllClassifier
public AcceptAllClassifier()
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 setparamValue
- the value of the parameter