org.polliwog.filters
Class JoSQLRule

java.lang.Object
  extended by org.polliwog.filters.Rule
      extended by org.polliwog.filters.JoSQLRule
All Implemented Interfaces:
com.gentlyweb.xml.JDOMXmlOutputter

public class JoSQLRule
extends Rule
implements com.gentlyweb.xml.JDOMXmlOutputter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.polliwog.filters.Rule
Rule.XMLConstants
 
Field Summary
 
Fields inherited from class org.polliwog.filters.Rule
ACCEPT, ACCEPT_NAME, DATE, IP_ADDR, JOSQL, REJECT, REJECT_NAME, URL
 
Constructor Summary
JoSQLRule(org.jdom.Element root, java.lang.Class cl)
           
 
Method Summary
 org.jdom.Element getAsJDOMElement()
           
 java.lang.String getClause()
           
 boolean match(Hit h)
           
 boolean match(java.lang.Object o)
           
 boolean match(Visit v)
           
 java.lang.String toString()
           
 
Methods inherited from class org.polliwog.filters.Rule
accept, accept, getRule, isAutoGenerated, setAction, setAutoGenerated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JoSQLRule

public JoSQLRule(org.jdom.Element root,
                 java.lang.Class cl)
          throws org.jdom.JDOMException,
                 WeblogException
Throws:
org.jdom.JDOMException
WeblogException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getClause

public java.lang.String getClause()

match

public boolean match(java.lang.Object o)
              throws WeblogException
Throws:
WeblogException

match

public boolean match(Hit h)
              throws WeblogException
Specified by:
match in class Rule
Throws:
WeblogException

match

public boolean match(Visit v)
              throws WeblogException
Specified by:
match in class Rule
Throws:
WeblogException

getAsJDOMElement

public org.jdom.Element getAsJDOMElement()
Specified by:
getAsJDOMElement in interface com.gentlyweb.xml.JDOMXmlOutputter
Overrides:
getAsJDOMElement in class Rule


  Copyright © 2007 Gary Bentley. All Rights Reserved.