Examples of walkChildren()


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

                };
                for (int i = 0; i < wsdls.size(); i++) {
                    Definitions def = (Definitions)wsdls.get(i);
                    ArrayList schemas = def.getSchemas();
                    for (int j = 0; j < schemas.size(); j++) {
                        wlkr.walkChildren((SchemaBase)schemas.get(0), visitor);
                    }
                }
               
                // copy all referenced schemas to target directory
                byte[] buff = new byte[4096];
View Full Code Here

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

                        elemschemas.put(node.getQName(), holder);
                        return false;
                    }
                   
                };
                wlkr.walkChildren(schema, visitor);
            }
           
            // build set of binding definitions provided on command line
            final Set bindings = new HashSet();
            errors = ResourceMatcher.matchPaths(new File("."), null, parms.getUseBindings(),
View Full Code Here

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

        m_group = hold.addGroup(comp);
        m_group.setEnumeration(isenum);
       
        // walk the nested definition to add details to structure
        TreeWalker wlkr = new TreeWalker(null, new SchemaContextTracker());
        wlkr.walkChildren(comp, this);
       
        // return the structure
        GroupItem ret = m_group;
        if (s_logger.isDebugEnabled()) {
            m_nestingDepth--;
View Full Code Here

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

                        case SchemaBase.ATTRIBUTEGROUP_TYPE:
                        case SchemaBase.GROUP_TYPE:
                           
                            // for attribute group or group, only force separate class if multiple components
                            ValueCountVisitor visitor = new ValueCountVisitor();
                            wlkr.walkChildren(comp, visitor);
                            include = visitor.getCount() > 1;
                            break;
                           
                        case SchemaBase.COMPLEXTYPE_TYPE:
                        case SchemaBase.ELEMENT_TYPE:
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.