org.polliwog.resolvers
Class URLMatchType
java.lang.Object
org.polliwog.resolvers.URLMatchType
- All Implemented Interfaces:
- MatchType
public class URLMatchType
- extends java.lang.Object
- implements MatchType
NOTE TO SELF: This class is effectively a clone of org.polliwog.filters.URLRule, whilst this is "ok"
the functonality should be merged in a future release to provide for a single
code-base.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
URLMatchType
public URLMatchType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
init
public void init(org.jdom.Element root)
throws org.jdom.JDOMException
- Specified by:
init
in interface MatchType
- Throws:
org.jdom.JDOMException
match
public boolean match(AbstractURIField f)
- Specified by:
match
in interface MatchType
Copyright © 2007 Gary Bentley. All Rights Reserved.