com.japisoft.fastparser.walker
Class NotCriteria

java.lang.Object
  |
  +--com.japisoft.fastparser.walker.NotCriteria
All Implemented Interfaces:
ValidCriteria

public class NotCriteria
extends java.lang.Object
implements ValidCriteria

Test for 2 elements criteria.

Version:
1.0
Author:
Alexandre Brillant (abrillant@wanadoo.fr)

Constructor Summary
NotCriteria(ValidCriteria criteria)
          Match the opposite of the criteria
 
Method Summary
 boolean isValid(SimpleNode node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotCriteria

public NotCriteria(ValidCriteria criteria)
Match the opposite of the criteria

Method Detail

isValid

public boolean isValid(SimpleNode node)
Specified by:
isValid in interface ValidCriteria