Package com.alibaba.citrus.springext.support

Examples of com.alibaba.citrus.springext.support.SchemaSet


        Collection<Contribution> dependingContributions = cp2.getDependingContributions();

        // Schema解析前,并不知道依赖关系。
        assertEquals(0, dependingContributions.size());

        new SchemaSet(cps);

        // Schema解析后,就知道依赖关系。
        assertEquals(1, dependingContributions.size());

        assertSame(contrib1, dependingContributions.iterator().next());
View Full Code Here


    private final EntityResolver defaultEntityResolver;
    private final SchemaSet      schemas;

    public SchemaEntityResolver(EntityResolver defaultEntityResolver, Schemas... schemasList) {
        this.defaultEntityResolver = defaultEntityResolver;
        this.schemas = new SchemaSet(schemasList);
    }
View Full Code Here

             new SpringPluggableSchemas(resourceLoader));
    }

    public SchemaExporter(Schemas... schemasList) {
        this.entries = new Entries();
        this.schemas = new SchemaSet(schemasList);
        this.nsToSchemas = createHashMap();

        // 将所有相同namespace的schema放在一起,并按名称倒排序,即按:beans.xsd、beans-2.5.xsd、beans-2.0.xsd 顺序。
        for (Schema schema : schemas.getNamedMappings().values()) {
            this.entries.put(schema.getName(), new Entry(schema.getName(), schema));
View Full Code Here

    private final EntityResolver defaultEntityResolver;
    private final SchemaSet schemas;

    public SchemaEntityResolver(EntityResolver defaultEntityResolver, Schemas... schemasList) {
        this.defaultEntityResolver = defaultEntityResolver;
        this.schemas = new SchemaSet(schemasList);
    }
View Full Code Here

                new SpringPluggableSchemas(resourceLoader));
    }

    public SchemaExporter(Schemas... schemasList) {
        this.entries = new Entries();
        this.schemas = new SchemaSet(schemasList);
        this.nsToSchemas = createHashMap();

        // ��������ͬnamespace��schema����һ�𣬲������Ƶ����򣬼�����beans.xsd��beans-2.5.xsd��beans-2.0.xsd ˳��
        for (Schema schema : schemas.getNamedMappings().values()) {
            this.entries.put(schema.getName(), new Entry(schema.getName(), schema));
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.springext.support.SchemaSet

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.