Lines Matching defs:components

291     // components declared within the same xsd document
1212 // components, and to record which components redefine others (so
1219 // of all other global components (and children of <redefine>). We
2518 XSObject[] components = schemaSource.getComponents();
2519 if (components != null && components.length > 0) {
2521 Vector expandedComponents = expandComponents(components, importDependencies);
2525 desc.setTargetNamespace(components[0].getNamespace());
2584 private boolean canAddComponents(Vector components) {
2585 final int size = components.size();
2588 XSObject component = (XSObject) components.elementAt(i);
2681 // add any new global components
2746 XSNamedMap components = srcGrammar.getComponents(XSConstants.ELEMENT_DECLARATION);
2747 int len = components.getLength();
2750 // add global components
2752 srcDecl = (XSElementDecl) components.item(i);
2762 // add any extended (duplicate) global components
2784 XSNamedMap components = srcGrammar.getComponents(XSConstants.ATTRIBUTE_DECLARATION);
2785 int len = components.getLength();
2788 // add global components
2790 srcDecl = (XSAttributeDecl) components.item(i);
2800 // add any extended (duplicate) global components
2822 XSNamedMap components = srcGrammar.getComponents(XSConstants.ATTRIBUTE_GROUP);
2823 int len = components.getLength();
2826 // add global components
2828 srcDecl = (XSAttributeGroupDecl) components.item(i);
2838 // add any extended (duplicate) global components
2860 XSNamedMap components = srcGrammar.getComponents(XSConstants.NOTATION_DECLARATION);
2861 int len = components.getLength();
2864 // add global components
2866 srcDecl = (XSNotationDecl) components.item(i);
2876 // add any extended (duplicate) global components
2898 XSNamedMap components = srcGrammar.getComponents(XSConstants.MODEL_GROUP_DEFINITION);
2899 int len = components.getLength();
2902 // add global components
2904 srcDecl = (XSGroupDecl) components.item(i);
2914 // add any extended (duplicate) global components
2936 XSNamedMap components = srcGrammar.getComponents(XSConstants.TYPE_DEFINITION);
2937 int len = components.getLength();
2940 // add global components
2942 srcDecl = (XSTypeDefinition) components.item(i);
2952 // add any extended (duplicate) global components
2973 private Vector expandComponents(XSObject[] components, Map<String, Vector> dependencies) {
2976 for (int i=0; i<components.length; i++) {
2977 if (!newComponents.contains(components[i])) {
2978 newComponents.add(components[i]);
3168 private void addGlobalComponents(Vector components, Map<String, Vector> importDependencies) {
3170 final int size = components.size();
3173 addGlobalComponent((XSObject) components.elementAt(i), desc);
3721 // If both components belong to the same document then
4019 // component corresponding to decl. If components from this
4041 schema components from one document to refer to components of any other,