eu.esdihumboldt.hale.io.xml.validator.internal
Class XMLApiValidator
java.lang.Object
eu.esdihumboldt.hale.io.xml.validator.internal.XMLApiValidator
- All Implemented Interfaces:
- Validator
public class XMLApiValidator
- extends Object
- implements Validator
Validate using the XML API.
- Author:
- Simon Templer
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLApiValidator
public XMLApiValidator(URI[] schemaLocations)
- Constructor
- Parameters:
schemaLocations
- the schema locations
validate
public Report validate(InputStream xml)
- Description copied from interface:
Validator
- Validate the given XML stream
- Specified by:
validate
in interface Validator
- Parameters:
xml
- the XML stream
- Returns:
- the validation report
- See Also:
Validator.validate(InputStream)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d