biz.c24.io.api.data.swapswire
Class SwdmlValidator

java.lang.Object
  extended by biz.c24.io.api.data.DefaultValidationRule
      extended by biz.c24.io.api.data.XsltValidator
          extended by biz.c24.io.api.data.swapswire.SwdmlValidator
All Implemented Interfaces:
ModelComponent, ValidationRule, Validator, Serializable
Direct Known Subclasses:
Swdml31Validator, SwdmlEqd42Validator, SwdmlGenericValidator, SwdmlIrd42Validator

public abstract class SwdmlValidator
extends XsltValidator

Validator to verify an SWDML document against the SwapsWire supplied validation XSL script.

See Also:
Serialized Form

Constructor Summary
SwdmlValidator(String name, String xsltResource)
           
 
Method Summary
protected  Result createResult(net.sf.saxon.Configuration config, DocumentNode rootNode, ComplexDataObject rootObject, List errors)
           
protected  Source createSource()
           
 
Methods inherited from class biz.c24.io.api.data.XsltValidator
validate
 
Methods inherited from class biz.c24.io.api.data.DefaultValidationRule
addDependentPredicateCode, getAnnotation, getContextForPredicateChecking, getDependentPredicateCode, getDependentPredicateCodeCount, getErrorCode, getName, getPredicateCode, getSeverity, removeDependentPredicateCode, setAnnotation, setErrorCode, setName, setPredicateCode, setSeverity, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwdmlValidator

public SwdmlValidator(String name,
                      String xsltResource)
Method Detail

createSource

protected Source createSource()
Specified by:
createSource in class XsltValidator

createResult

protected Result createResult(net.sf.saxon.Configuration config,
                              DocumentNode rootNode,
                              ComplexDataObject rootObject,
                              List errors)
Specified by:
createResult in class XsltValidator


C24 Technologies © 2002-2012: All Rights Reserved.