Class SchemaConstraintChecker
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.parser.SchemaConstraintChecker
Checks XML Schema XML representation constraints and
schema component constraints by using JAXP 1.3 validation framework.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com), Ryan Shoemaker (ryan.shoemaker@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
check
(InputSource[] schemas, ErrorReceiver errorHandler, EntityResolver entityResolver, boolean disableXmlSecurity) static void
-
Constructor Details
-
SchemaConstraintChecker
public SchemaConstraintChecker()
-
-
Method Details
-
check
public static boolean check(InputSource[] schemas, ErrorReceiver errorHandler, EntityResolver entityResolver, boolean disableXmlSecurity) - 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
- Throws:
IOException
-