public class S2SValidatorServiceImpl extends Object implements S2SValidatorService
GRANTS_GOV_PREFIX, LOG| Constructor and Description |
|---|
S2SValidatorServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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
|
boolean |
validate(org.apache.xmlbeans.XmlObject formObject,
List<org.kuali.rice.kns.util.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 boolean validate(org.apache.xmlbeans.XmlObject formObject,
List<org.kuali.rice.kns.util.AuditError> errors)
validate in interface S2SValidatorServiceformObject - XML document as XMLObjecterrors - 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 XMLObjecterrors - List list of XPaths of the error nodes.protected String getXPath(Node node)
node - for which Document node has to found.Copyright © 2013 The Kuali Foundation. All Rights Reserved.