Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xml.validator.internal
Class XMLApiValidator

java.lang.Object
  extended by 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

Constructor Summary
XMLApiValidator(URI[] schemaLocations)
          Constructor
 
Method Summary
 Report validate(InputStream xml)
          Validate the given XML stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLApiValidator

public XMLApiValidator(URI[] schemaLocations)
Constructor

Parameters:
schemaLocations - the schema locations
Method Detail

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)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d