org.apache.avalon.excalibur.cache.validator
Class AndValidator

java.lang.Object
  |
  +--org.apache.avalon.excalibur.cache.validator.AndValidator
All Implemented Interfaces:
CacheValidator

public class AndValidator
extends java.lang.Object
implements CacheValidator

Author:
Eung-ju Park

Constructor Summary
AndValidator(CacheValidator[] validators)
           
AndValidator(CacheValidator validator1, CacheValidator validator2)
           
 
Method Summary
 boolean validate(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndValidator

public AndValidator(CacheValidator validator1,
                    CacheValidator validator2)

AndValidator

public AndValidator(CacheValidator[] validators)
Method Detail

validate

public boolean validate(java.lang.Object key,
                        java.lang.Object value)
Specified by:
validate in interface CacheValidator


Copyright 2001 Apache Jakarta Project. All Rights Reserved.