info.magnolia.voting.voters
Class URIRegexVoter

java.lang.Object
  extended by info.magnolia.voting.voters.BaseVoterImpl
      extended by info.magnolia.voting.voters.AbstractBoolVoter
          extended by info.magnolia.voting.voters.BasePatternVoter
              extended by info.magnolia.voting.voters.URIRegexVoter
All Implemented Interfaces:
Voter

public class URIRegexVoter
extends BasePatternVoter

A voter taking a plain regex pattern which has to matched against the current uri.

Version:
$Id$
Author:
pbaerfuss

Constructor Summary
URIRegexVoter()
           
 
Method Summary
protected  boolean boolVote(java.lang.Object value)
           
 void setPattern(java.lang.String pattern)
           
 
Methods inherited from class info.magnolia.voting.voters.BasePatternVoter
getPattern, init, isInverse, resolveURIFromValue, setInverse, setTrueValue, toString
 
Methods inherited from class info.magnolia.voting.voters.AbstractBoolVoter
getFalseValue, getLevel, getTrueValue, isNot, setFalseValue, setLevel, setNot, vote
 
Methods inherited from class info.magnolia.voting.voters.BaseVoterImpl
getName, isEnabled, setEnabled, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URIRegexVoter

public URIRegexVoter()
Method Detail

boolVote

protected boolean boolVote(java.lang.Object value)
Specified by:
boolVote in class AbstractBoolVoter

setPattern

public void setPattern(java.lang.String pattern)
Overrides:
setPattern in class BasePatternVoter


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.