net.sf.bvalid
Interface Validator


public interface Validator

An XML document validator.

Author:
cwilper@cs.cornell.edu

Method Summary
 void validate(java.io.InputStream xmlStream)
          Validate the document according to the schema(s) referenced within, if any.
 void validate(java.io.InputStream xmlStream, java.lang.String schemaURI)
          Validate the document according to the given schema.
 

Method Detail

validate

void validate(java.io.InputStream xmlStream,
              java.lang.String schemaURI)
              throws ValidationException
Validate the document according to the given schema.

Throws:
ValidationException

validate

void validate(java.io.InputStream xmlStream)
              throws ValidationException
Validate the document according to the schema(s) referenced within, if any.

Throws:
ValidationException