com.sun.tools.xjc.reader.xmlschema.parser
Class SchemaConstraintChecker

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.parser.SchemaConstraintChecker

public class SchemaConstraintChecker
extends Object

Checks XML Schema XML representation constraints and schema component constraints by using JAXP 1.3 validation framework.


Constructor Summary
SchemaConstraintChecker()
           
 
Method Summary
static boolean check(InputSource[] schemas, ErrorReceiver errorHandler, EntityResolver entityResolver)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaConstraintChecker

public SchemaConstraintChecker()
Method Detail

check

public static boolean check(InputSource[] schemas,
                            ErrorReceiver errorHandler,
                            EntityResolver entityResolver)
Parameters:
schemas - Schema files to be checked.
errorHandler - detected errors will be reported to this handler.
Returns:
true if there was no error, false if there were errors.

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException