Examples of walkSchema()


Examples of org.jibx.schema.TreeWalker.walkSchema()

        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

Examples of org.jibx.schema.TreeWalker.walkSchema()

                " has effective namespace " + schemas[i].getEffectiveNamespace());
        }
        s_logger.debug("Beginning name registration pass");
        m_validationContext.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new NameRegistrationVisitor(m_validationContext));
        }
        s_logger.debug("Beginning name merge pass");
        m_validationContext.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new NameMergeVisitor(m_validationContext));
View Full Code Here

Examples of org.jibx.schema.TreeWalker.walkSchema()

            wlkr.walkSchema(schemas[i], new NameRegistrationVisitor(m_validationContext));
        }
        s_logger.debug("Beginning name merge pass");
        m_validationContext.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new NameMergeVisitor(m_validationContext));
        }
        s_logger.debug("Beginning validation pass");
        m_validationContext.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new ValidationVisitor(m_validationContext));
View Full Code Here

Examples of org.jibx.schema.TreeWalker.walkSchema()

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

Examples of org.jibx.schema.TreeWalker.walkSchema()

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

Examples of org.jibx.schema.TreeWalker.walkSchema()

                " has effective namespace " + schemas[i].getEffectiveNamespace());
        }
        s_logger.debug("Beginning name registration pass");
        vctx.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new NameRegistrationVisitor(vctx));
        }
        s_logger.debug("Beginning name merge pass");
        vctx.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new NameMergeVisitor(vctx));
View Full Code Here

Examples of org.jibx.schema.TreeWalker.walkSchema()

            wlkr.walkSchema(schemas[i], new NameRegistrationVisitor(vctx));
        }
        s_logger.debug("Beginning name merge pass");
        vctx.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new NameMergeVisitor(vctx));
        }
        s_logger.debug("Beginning validation pass");
        vctx.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new ValidationVisitor(vctx));
View Full Code Here

Examples of org.jibx.schema.TreeWalker.walkSchema()

            wlkr.walkSchema(schemas[i], new NameMergeVisitor(vctx));
        }
        s_logger.debug("Beginning validation pass");
        vctx.clearTraversed();
        for (int i = 0; i < schemas.length; i++) {
            wlkr.walkSchema(schemas[i], new ValidationVisitor(vctx));
            s_logger.debug("After validation schema " + schemas[i].getResolver().getName() +
                " has effective namespace " + schemas[i].getEffectiveNamespace());
        }
    }
   
View Full Code Here

Examples of org.jibx.schema.TreeWalker.walkSchema()

     *
     * @param schema
     */
    public void countSchemaTree(SchemaElement schema) {
        TreeWalker wlkr = new TreeWalker(null, m_visitor.getListener());
        wlkr.walkSchema(schema, m_visitor);
    }
   
    /**
     * Add usage counts for the reference closure of a definition.
     *
 
View Full Code Here

Examples of org.jibx.schema.TreeWalker.walkSchema()

            }
        }
        m_schema.compactChildren();
       
        // now remove all embedded annotations within any definitions
        wlkr.walkSchema(m_schema, new AnnotationDeletionVisitor());
    }
   
    /**
     * Evaluate the remaining path for a customization after the first step, and apply it to the extension for each
     * matching schema component. If no matches are found or multiple matches are found this generates a warning.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.