public class ValidationUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
ValidationUtils.SyntheticSchemaResolver
Resolver for synthesized schema, used when no-namespace schemas are being generated within a namespace.
|
| Modifier and Type | Field and Description |
|---|---|
private static Logger |
s_logger
Logger for class.
|
| Constructor and Description |
|---|
ValidationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static SchemaElement[] |
load(java.util.Collection resolves,
java.lang.String uri,
ValidationContext vctx)
Load and validate a list of schemas.
|
static void |
validateSchemas(SchemaElement[] schemas,
ValidationContext vctx)
Validate an ordered array of schemas.
|
public static void validateSchemas(SchemaElement[] schemas, ValidationContext vctx)
schemas - schemas to be validatedvctx - validation context to be usedpublic static SchemaElement[] load(java.util.Collection resolves, java.lang.String uri, ValidationContext vctx) throws JiBXException, java.io.IOException
resolves - resolvers for schemas to be loadeduri - effective namespace used for generation when no namespaced schemas are found (null if
none)vctx - context to use for validating schemasJiBXException - on unrecoverable error in schemasjava.io.IOException - on error reading schemas