pl.psnc.dl.ege.validator.xml
Interface XmlValidator

All Known Implementing Classes:
DTDValidator, SchemaValidator

public interface XmlValidator

Standard EGE XML validation interface.

Implemented class should receive and possibly record errors through ErrorHandler implementation.

Author:
mariuszs

Method Summary
 void validateXml(java.io.InputStream inputData, org.xml.sax.ErrorHandler errorHandler)
          Performs validation over stream of XML data.
 

Method Detail

validateXml

void validateXml(java.io.InputStream inputData,
                 org.xml.sax.ErrorHandler errorHandler)
                 throws org.xml.sax.SAXException,
                        java.io.FileNotFoundException,
                        java.io.IOException,
                        java.lang.Exception
Performs validation over stream of XML data. Validation messages and status can be reported through ErrorHandler implementation.

Parameters:
errorHandler -
inputData -
Throws:
org.xml.sax.SAXException
java.io.IOException
java.io.FileNotFoundException
java.lang.Exception


Copyright © 2010. All Rights Reserved.