Package org.infinispan.schematic.internal.schema

Examples of org.infinispan.schematic.internal.schema.ValidationResult


    }

    @Override
    public Results validate( Document document,
                             String schemaUri ) {
        ValidationResult result = new ValidationResult();
        SchemaDocument schema = schemaDocuments.get(schemaUri, result);
        if (schema != null) {
            schema.getValidator().validate(null, null, document, Paths.rootPath(), result, schemaDocuments);
        }
        return result;
View Full Code Here


    }

    protected SchemaLibrary.Results validate( String documentUri,
                                              String schemaUri ) {
        Document doc = docs.get(documentUri);
        ValidationResult problems = new ValidationResult();
        SchemaDocument schema = schemaDocs.get(schemaUri, problems);
        if (schema != null) {
            schema.getValidator().validate(null, null, doc, Paths.rootPath(), problems, schemaDocs);
        }
        return problems;
View Full Code Here

TOP

Related Classes of org.infinispan.schematic.internal.schema.ValidationResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.