Package org.auraframework.system

Examples of org.auraframework.system.Parser


            return null;
        }

        descriptor = (DefDescriptor<RootDefinition>) source.getDescriptor();

        Parser parser = ParserFactory.getParser(source.getFormat());
        def = parser.parse(descriptor, source);
        return def;
    }
View Full Code Here


    @Override
    public D getDef(DefDescriptor<D> descriptor) throws QuickFixException {
        Source<?> source = sourceFactory.getSource(descriptor);
        if (source != null && source.exists()) {
            Parser parser = ParserFactory.getParser(source.getFormat());
            D def = parser.parse(descriptor, source);
            // def.validateDefinition();
            return def;
        }

        return null;
View Full Code Here

TOP

Related Classes of org.auraframework.system.Parser

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.