org.polliwog.filters
Class URLRule

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

public class URLRule
extends Rule


Field Summary
static int CONTAINS
           
static int ENDS_WITH
           
static int STARTS_WITH
           
 
Fields inherited from class org.polliwog.filters.Rule
ACCEPT, ACCEPT_NAME, DATE, IP_ADDR, JOSQL, REJECT, REJECT_NAME, URL
 
Constructor Summary
URLRule(org.jdom.Element root)
           
 
Method Summary
 boolean match(Hit h)
           
 boolean match(Visit v)
           
 java.lang.String toString()
           
 
Methods inherited from class org.polliwog.filters.Rule
accept, accept, getAsJDOMElement, getRule, isAutoGenerated, setAction, setAutoGenerated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STARTS_WITH

public static final int STARTS_WITH
See Also:
Constant Field Values

ENDS_WITH

public static final int ENDS_WITH
See Also:
Constant Field Values

CONTAINS

public static final int CONTAINS
See Also:
Constant Field Values
Constructor Detail

URLRule

public URLRule(org.jdom.Element root)
        throws org.jdom.JDOMException
Throws:
org.jdom.JDOMException
Method Detail

toString

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

match

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

match

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


  Copyright © 2007 Gary Bentley. All Rights Reserved.