com.extrememessaging.ResponseMaster
Class CCategorizationRule

java.lang.Object
  extended by com.extrememessaging.ResponseMaster.CCategorizationRule

public class CCategorizationRule
extends java.lang.Object

A rule that places the message into a category This class is internal to ResponseMaster


Constructor Summary
CCategorizationRule()
           
 
Method Summary
 boolean ApplyRule(CMessage oMessage)
          Applies the rule to a message.
 void ReadFromElement(org.w3c.dom.Element oRootElement, java.lang.String locationForLogging)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCategorizationRule

public CCategorizationRule()
Method Detail

ReadFromElement

public void ReadFromElement(org.w3c.dom.Element oRootElement,
                            java.lang.String locationForLogging)
                     throws ResponseMasterException
Throws:
ResponseMasterException

ApplyRule

public boolean ApplyRule(CMessage oMessage)
Applies the rule to a message.

Parameters:
oMessage - The message to apply the rule to.
Returns:
True if the rule matches.