Package org.jibx.schema.elements

Examples of org.jibx.schema.elements.IncludeElement


            if (!m_fixedSet.contains(holder)) {
                String ns = holder.getNamespace();
                String file = holder.getFileName();
                if (ns == null || ns.equals(getNamespace())) {
                    if (file != null) {
                        IncludeElement inc = new IncludeElement();
                        inc.setLocation(file);
                        m_schema.getSchemaChildren().add(inc);
                    }
                } else {
                    ImportElement imp = new ImportElement();
                    imp.setLocation(file);
View Full Code Here


            schema.setTargetNamespace(uri);
            SyntheticSchemaResolver resolver = new SyntheticSchemaResolver();
            for (int i = 0; i < count; i++) {
                SchemaElement inclschema = schemas[i];
                inclschema.setEffectiveNamespace(uri);
                IncludeElement include = new IncludeElement();
                ISchemaResolver inclresolver = inclschema.getResolver();
                include.setLocation(inclresolver.getId());
                resolver.addResolver(inclresolver);
                schema.getSchemaChildren().add(include);
            }
            schema.setResolver(resolver);
            ordereds.add(schema);
View Full Code Here

TOP

Related Classes of org.jibx.schema.elements.IncludeElement

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.