public class EbInterfaceValidator extends Object
| Constructor and Description |
|---|
EbInterfaceValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
transformInput(byte[] uploadedData,
com.helger.ebinterface.EEbInterfaceVersion version)
Apply the correct stylesheet and transform the input
|
ValidationResult |
validateXMLInstanceAgainstSchema(byte[] uploadedData)
Validate the XML instance input stream
|
Result |
validateXMLInstanceAgainstSchematron(byte[] uploadedData,
String schematronFileReference)
Validate the given XML instance against the given schematron file
|
public ValidationResult validateXMLInstanceAgainstSchema(byte[] uploadedData)
uploadedData - The XML datanull.public String transformInput(byte[] uploadedData, com.helger.ebinterface.EEbInterfaceVersion version)
public Result validateXMLInstanceAgainstSchematron(byte[] uploadedData, String schematronFileReference)
uploadedData - XML to be validatedschematronFileReference - Schematron file URLnull validation resultCopyright © 2014–2019. All rights reserved.