org.polliwog.filters
Class BasicHitFilter

java.lang.Object
  extended by org.polliwog.filters.AbstractRuleFilter
      extended by org.polliwog.filters.BasicHitFilter
All Implemented Interfaces:
com.gentlyweb.xml.JDOMXmlOutputter, HitFilter

public class BasicHitFilter
extends AbstractRuleFilter
implements HitFilter, com.gentlyweb.xml.JDOMXmlOutputter


Field Summary
 
Fields inherited from class org.polliwog.filters.AbstractRuleFilter
rC, rules
 
Constructor Summary
BasicHitFilter()
           
BasicHitFilter(org.jdom.Element root)
           
BasicHitFilter(java.io.File f)
           
 
Method Summary
 boolean accept(Hit h)
           
 org.jdom.Element getAsJDOMElement()
           
 void init(org.jdom.Element root)
           
 void init(java.io.File f)
           
 void init(VisitorEnvironment ve)
           
 
Methods inherited from class org.polliwog.filters.AbstractRuleFilter
addRule, getRules, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHitFilter

public BasicHitFilter()

BasicHitFilter

public BasicHitFilter(org.jdom.Element root)
               throws org.jdom.JDOMException,
                      WeblogException
Throws:
org.jdom.JDOMException
WeblogException

BasicHitFilter

public BasicHitFilter(java.io.File f)
               throws org.jdom.JDOMException,
                      java.io.IOException,
                      WeblogException
Throws:
org.jdom.JDOMException
java.io.IOException
WeblogException
Method Detail

init

public void init(java.io.File f)
          throws org.jdom.JDOMException,
                 java.io.IOException,
                 WeblogException
Throws:
org.jdom.JDOMException
java.io.IOException
WeblogException

init

public void init(org.jdom.Element root)
          throws org.jdom.JDOMException,
                 WeblogException
Throws:
org.jdom.JDOMException
WeblogException

init

public void init(VisitorEnvironment ve)
          throws org.jdom.JDOMException,
                 java.io.IOException,
                 WeblogException
Specified by:
init in interface HitFilter
Throws:
org.jdom.JDOMException
java.io.IOException
WeblogException

accept

public boolean accept(Hit h)
               throws WeblogException
Specified by:
accept in interface HitFilter
Throws:
WeblogException

getAsJDOMElement

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


  Copyright © 2007 Gary Bentley. All Rights Reserved.