info.magnolia.voting.voters
Class URIPatternVoter

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.URIPatternVoter
All Implemented Interfaces:
Voter

public class URIPatternVoter
extends BasePatternVoter

Checks if URI matches the pattern.

Parameters (as Magnolia's configuration nodes):

Version:
$Id: URIPatternVoter.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Constructor Summary
URIPatternVoter()
           
 
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

URIPatternVoter

public URIPatternVoter()
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.