public class ValidationUtils extends Object
| Constructor and Description |
|---|
ValidationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static SchemaElement[] |
load(Collection resolves,
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(Collection resolves, String uri, ValidationContext vctx) throws JiBXException, 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 schemasIOException - on error reading schemasCopyright © 2005-2013 jibx.org. All Rights Reserved.