org.apache.geronimo.validator
Class ValidationContext

java.lang.Object
  extended byorg.apache.geronimo.validator.ValidationContext

public class ValidationContext
extends Object

Holds all the context information for the current validation process.

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:58:44 $

Field Summary
 ClassLoader loader
           
 String moduleName
           
 PrintWriter out
           
 Object[] serverDD
           
 org.apache.xmlbeans.XmlObject[] standardDD
           
 javax.enterprise.deploy.shared.ModuleType type
           
 
Constructor Summary
ValidationContext(ClassLoader loader, String moduleName, PrintWriter out, Object[] serverDD, org.apache.xmlbeans.XmlObject[] standardDD, javax.enterprise.deploy.shared.ModuleType type)
           
 
Method Summary
 Object getCurrentNode()
          At the moment, this is the node on the standard DD that we're validating.
 Object getCurrentStandardDD()
          At the moment, this is the standard DD we're validating.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

public final PrintWriter out

moduleName

public final String moduleName

loader

public final ClassLoader loader

type

public final javax.enterprise.deploy.shared.ModuleType type

standardDD

public final org.apache.xmlbeans.XmlObject[] standardDD

serverDD

public final Object[] serverDD
Constructor Detail

ValidationContext

public ValidationContext(ClassLoader loader,
                         String moduleName,
                         PrintWriter out,
                         Object[] serverDD,
                         org.apache.xmlbeans.XmlObject[] standardDD,
                         javax.enterprise.deploy.shared.ModuleType type)
Method Detail

getCurrentStandardDD

public Object getCurrentStandardDD()
At the moment, this is the standard DD we're validating.


getCurrentNode

public Object getCurrentNode()
At the moment, this is the node on the standard DD that we're validating. It corresponds to the XPath that a particular test is interested in.



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