org.eclipse.actf.validation.rulebase
Class ValidationDocumentUtils

java.lang.Object
  extended by org.eclipse.actf.validation.rulebase.ValidationDocumentUtils

public class ValidationDocumentUtils
extends Object


Constructor Summary
ValidationDocumentUtils()
           
 
Method Summary
static void addValidationDocument(String ruleBaseName, String sourceLoc, String[] targetExpressions)
          Add a validation document for validation
static void removeValidationDocument(String ruleBaseName)
          Removes validation document from validation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationDocumentUtils

public ValidationDocumentUtils()
Method Detail

addValidationDocument

public static void addValidationDocument(String ruleBaseName,
                                         String sourceLoc,
                                         String[] targetExpressions)
Add a validation document for validation

Parameters:
ruleBaseName - - Name of the rulebase in the validation document, the name must not be null.
sourceLoc - - source location of the document that describes the rulebase
targetExpressions - - Target Expressions for this rulebase mapping Eg: For web validation ruleBaseName : RuleBaseName.IBM_WEB_ACCESSIBILITY_CHECKLIST.rbName sourceLoc : Relative path: resources/existingdom_accessibility.xml or Absolute Path pointing to exact location on disk targetExpressions - Array of {TargetExpressions.SWING_TARGET_EXPR1.targetExpr, TargetExpressions.SWING_TARGET_EXPR2.targetExpr}

removeValidationDocument

public static void removeValidationDocument(String ruleBaseName)
Removes validation document from validation

Parameters:
ruleBaseName - - Name of the rulebase, The name must not be null