org.apache.geronimo.validator
Class ValidationContext

java.lang.Object
  extended by org.apache.geronimo.validator.ValidationContext

public class ValidationContext
extends Object


Field Summary
protected  Map attributes
           
protected  ArrayList errors
           
protected  ArrayList failures
           
protected  String jarPath
           
protected  ArrayList warnings
           
 
Constructor Summary
ValidationContext(String name)
           
 
Method Summary
 void addError(ValidationError error)
           
 void addFailure(ValidationFailure failure)
           
 void addWarning(ValidationWarning warning)
           
 boolean containsKey(Object key)
           
 Set entrySet()
           
 Object get(Object key)
           
 ValidationError[] getErrors()
           
 ValidationFailure[] getFailures()
           
 ValidationWarning[] getWarnings()
           
 boolean hasErrors()
           
 boolean hasFailures()
           
 boolean hasWarnings()
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

failures

protected ArrayList failures

warnings

protected ArrayList warnings

errors

protected ArrayList errors

attributes

protected Map attributes

jarPath

protected String jarPath
Constructor Detail

ValidationContext

public ValidationContext(String name)
Method Detail

entrySet

public Set entrySet()

remove

public Object remove(Object key)

put

public Object put(Object key,
                  Object value)

get

public Object get(Object key)

containsKey

public boolean containsKey(Object key)

addWarning

public void addWarning(ValidationWarning warning)

addFailure

public void addFailure(ValidationFailure failure)

addError

public void addError(ValidationError error)

getFailures

public ValidationFailure[] getFailures()

getWarnings

public ValidationWarning[] getWarnings()

getErrors

public ValidationError[] getErrors()

hasWarnings

public boolean hasWarnings()

hasFailures

public boolean hasFailures()

hasErrors

public boolean hasErrors()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.