Package org.auraframework.instance

Examples of org.auraframework.instance.ValueProviderType


            }
            PropertyReference stem = expr.getStem();

            Object root = valueProviders.get(prefix);
            if (root == null) {
                ValueProviderType vpt = ValueProviderType.getTypeByPrefix(prefix);
                if (vpt != null) {
                    root = context.getGlobalProviders().get(vpt);
                }
            }
            if (root != null) {
View Full Code Here


     */
    private void validateExpressionRefs() throws QuickFixException {
        for (PropertyReference e : expressionRefs) {
            String root = e.getRoot();

            ValueProviderType vpt = ValueProviderType.getTypeByPrefix(root);
            if (vpt == null) {
                // validate that its a foreachs
            } else if (vpt.isGlobal()) {
                AuraContext lc = Aura.getContextService().getCurrentContext();
                GlobalValueProvider gvp = lc.getGlobalProviders().get(vpt);
                if (gvp != null) {
                    PropertyReference stem = e.getStem();
                    if (stem == null) {
View Full Code Here

        if (vp != null) {
            ret = vp.getValue(this);
        } else {
            String root = getRoot();
            AuraContext lc = Aura.getContextService().getCurrentContext();
            ValueProviderType vpt = ValueProviderType.getTypeByPrefix(root);
            if (vpt != null) {
                ret = lc.getGlobalProviders().get(vpt).getValue(getStem());
            }
        }
        return ret;
View Full Code Here

TOP

Related Classes of org.auraframework.instance.ValueProviderType

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.