Package org.impalaframework.module.spi

Examples of org.impalaframework.module.spi.TypeReader


        for (Element definitionElement : definitionElementList) {
           
            String name = getName(definitionElement);
            String type = getType(definitionElement);
           
            TypeReader typeReader = typeReaderRegistry.getTypeReader(type);
            ModuleDefinition childDefinition = typeReader.readModuleDefinition(parentDefinition, name, definitionElement);
           
            if (parentDefinition == null) {
                //no parent definition is null, this must be the case where the siblings
                rootModuleDefinition.addSibling(childDefinition);
            }
View Full Code Here


            readChildDefinitions(childDefinition, definitionElement, ModuleElementNames.MODULES_ELEMENT);
        }
    }

    private RootModuleDefinition getRootModuleDefinition(Element root) {
        TypeReader typeReader = typeReaderRegistry.getTypeReader(ModuleTypes.ROOT);
        String name = getName(root);
        return (RootModuleDefinition) typeReader.readModuleDefinition(null, name, root);
    }
View Full Code Here

TOP

Related Classes of org.impalaframework.module.spi.TypeReader

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.