com.xenonsoft.bridgetown.examples.categoriser
Class DefaultProcessorImpl

java.lang.Object
  extended bycom.xenonsoft.bridgetown.examples.categoriser.DefaultProcessorImpl
All Implemented Interfaces:
IProcessor, java.io.Serializable

public class DefaultProcessorImpl
extends java.lang.Object
implements IProcessor, java.io.Serializable

A mock object of the processor algorithm

Version:
$Id: DefaultProcessorImpl.java,v 1.7 2005/03/29 23:41:23 peter_pilgrim Exp $
Author:
Peter Pilgrim, Jul 26, 2004 2:44:29 PM
See Also:
Serialized Form

Constructor Summary
DefaultProcessorImpl()
           
 
Method Summary
 java.util.List process(java.lang.Object refValue)
          Performs processing of the exception
 void setMatcher(IMatcher matcher)
          Sets the categorisation algorithm
 java.lang.String toString()
          Gets debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultProcessorImpl

public DefaultProcessorImpl()
Method Detail

setMatcher

public void setMatcher(IMatcher matcher)
Sets the categorisation algorithm

Specified by:
setMatcher in interface IProcessor
Parameters:
matcher - the matcher algorithm
See Also:
categoriser.IProcessor#setMatcher(categoriser.IMatcher)

process

public java.util.List process(java.lang.Object refValue)
Performs processing of the exception

Specified by:
process in interface IProcessor
Parameters:
refValue - an object that contained reference values
Returns:
a list collection of possible matches
See Also:
categoriser.IProcessor#process(java.lang.Object)

toString

public java.lang.String toString()
Gets debuggable string



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.