org.eclipse.actf.validation.rulebase
Class ValidationDocumentUtils
java.lang.Object
org.eclipse.actf.validation.rulebase.ValidationDocumentUtils
public class ValidationDocumentUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationDocumentUtils
public ValidationDocumentUtils()
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 rulebasetargetExpressions
- - 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