info.magnolia.voting.voters
Class URIStartsWithVoter

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

public class URIStartsWithVoter
extends BasePatternVoter

Checks if the URI starts with the given pattern.

Parameters (as Magnolia's configuration nodes):

Version:
$Id: URIStartsWithVoter.java 51145 2011-11-09 15:23:12Z dlipp $

Constructor Summary
URIStartsWithVoter()
           
 
Method Summary
protected  boolean boolVote(Object value)
           
 
Methods inherited from class info.magnolia.voting.voters.BasePatternVoter
getPattern, init, isInverse, resolveURIFromValue, setInverse, setPattern, 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

URIStartsWithVoter

public URIStartsWithVoter()
Method Detail

boolVote

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


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