Package org.auraframework.impl.validation

Examples of org.auraframework.impl.validation.ValidationEngine


                        try {
                            Definition definition = descriptor.getDef();

                            if (definition instanceof RootDefinition) {
                                List<DefDescriptor<?>> deps = ((RootDefinition) definition).getBundle();
                                ValidationEngine validationEngine = new ValidationEngine();
                                for (DefDescriptor<?> dep : deps) {
                                    if (dep.getPrefix().equals(DefDescriptor.JAVASCRIPT_PREFIX)) {
                                        List<ValidationError> ret = validationEngine.validate(dep);
                                        ValidationUtil.trimFilenames(ret);
                                        for (ValidationError error : ret) {
                                            Map<String, String> m = new TreeMap<String, String>();
                                            String comp = descriptor.getNamespace() + ':' + descriptor.getName();
                                            m.put("CompName", comp);
View Full Code Here

TOP

Related Classes of org.auraframework.impl.validation.ValidationEngine

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.