Package org.apache.jackrabbit.util.name

Examples of org.apache.jackrabbit.util.name.NamespaceExtractor


    private static final String MODEL_RESULT_FILE = "applications/test/xsd-converter-model-output.cnd";
    private static final String DEFAULT_PREFIX = "test";

    public void testSchemaConverter() {
        try {
            NamespaceExtractor nse = new NamespaceExtractor(TEST_INPUT_FILE, DEFAULT_PREFIX);
            NamespaceMapping nsm = nse.getNamespaceMapping();

            SchemaConverter nts = new SchemaConverter(TEST_INPUT_FILE);
            List testList = nts.getNodeTypeDefs();

            CompactNodeTypeDefReader ntr = new CompactNodeTypeDefReader(new FileReader(MODEL_RESULT_FILE), MODEL_RESULT_FILE, nsm);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.util.name.NamespaceExtractor

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.