Package org.jibx.schema.validation

Examples of org.jibx.schema.validation.PrevalidationVisitor


        TreeWalker wlkr = new TreeWalker(m_validationContext, m_validationContext);
        s_logger.debug("Beginning schema prevalidation pass");
        m_validationContext.clearTraversed();
        s_logger.debug("Beginning schema prevalidation pass");
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new PrevalidationVisitor(m_validationContext));
            s_logger.debug("After prevalidation schema " + schemas[i].getResolver().getName() +
                " has effective namespace " + schemas[i].getEffectiveNamespace());
        }
        s_logger.debug("Beginning name registration pass");
        m_validationContext.clearTraversed();
View Full Code Here


     * @param schema schema element
     * @param vctx validation context
     */
    protected void validateSchema(SchemaElement schema, ValidationContext vctx) {
        TreeWalker tctx = new TreeWalker(vctx, vctx);
        tctx.walkSchema(schema, new PrevalidationVisitor(vctx));
        vctx.clearTraversed();
        tctx.walkSchema(schema, new NameRegistrationVisitor(vctx));
        vctx.clearTraversed();
        tctx.walkSchema(schema, new NameMergeVisitor(vctx));
        vctx.clearTraversed();
View Full Code Here

TOP

Related Classes of org.jibx.schema.validation.PrevalidationVisitor

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.