@Component(value="s2SValidatorService") public class S2SValidatorServiceImpl extends Object implements S2SValidatorService
GRANTS_GOV_PREFIX| Constructor and Description | 
|---|
| S2SValidatorServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| S2SErrorHandlerService | getS2SErrorHandlerService() | 
| protected String | getXPath(Node node)This method receives a node, fetches its name, and recurses up to its parent node, until it reaches the document node, thus
 creating the XPath of the node passed and returns it as String | 
| void | setS2SErrorHandlerService(S2SErrorHandlerService s2SErrorHandlerService) | 
| boolean | validate(org.apache.xmlbeans.XmlObject formObject,
                List<AuditError> errors)This method receives an XMLObject and validates it against its schema and returns the validation result. | 
| protected boolean | validateXml(org.apache.xmlbeans.XmlObject formObject,
                      List<String> errors)This method receives an XMLObject and validates it against its schema and returns the validation result. | 
public S2SValidatorServiceImpl()
public boolean validate(org.apache.xmlbeans.XmlObject formObject, List<AuditError> errors)
validate in interface S2SValidatorServiceformObject - XML document as errors - List list of XPaths of the error nodes.S2SValidatorService.validate(org.apache.xmlbeans.XmlObject, java.util.List)protected boolean validateXml(org.apache.xmlbeans.XmlObject formObject, List<String> errors)
formObject - XML document as errors - List list of XPaths of the error nodes.protected String getXPath(Node node)
node - for which Document node has to found.public S2SErrorHandlerService getS2SErrorHandlerService()
public void setS2SErrorHandlerService(S2SErrorHandlerService s2SErrorHandlerService)
Copyright © 2014 The Kuali Foundation. All rights reserved.