info.magnolia.voting.voters
Class NotVoter
java.lang.Object
info.magnolia.voting.voters.BaseVoterImpl
info.magnolia.voting.voters.AbstractBoolVoter
info.magnolia.voting.voters.NotVoter
- All Implemented Interfaces:
- Voter
public class NotVoter
- extends AbstractBoolVoter
Does invert the boolean outcome of a voter. This is not the same thing as
inverting the value (see InverseVoter
)
- Author:
- pbracher
NotVoter
public NotVoter()
boolVote
protected boolean boolVote(Object value)
- Specified by:
boolVote
in class AbstractBoolVoter
getVoter
public AbstractBoolVoter getVoter()
setVoter
public void setVoter(AbstractBoolVoter voter)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.