Package org.auraframework.def.ComponentDefRef

Examples of org.auraframework.def.ComponentDefRef.Load


        builder.setLocation(getLocation());
        lazyBuilder.setRefDescriptor(Aura.getDefinitionService().getDefDescriptor(tag.trim(), ComponentDef.class));

        String loadString = getSystemAttributeValue("load");
        if (loadString != null) {
            Load load = Load.valueOf(loadString.toUpperCase());
            if (load == Load.EXCLUSIVE) {
                lazyBuilder.setComponentAttribute("exclusive", true);
            }
        }
    }
View Full Code Here


            }
            return new HTMLComponentDefRefHandler<P>(parentHandler, tag, xmlReader, source);
        } else {
            String loadString = getSystemAttributeValue("load");
            if (loadString != null) {
                Load load = null;
                try {
                    load = Load.valueOf(loadString.toUpperCase());
                } catch (IllegalArgumentException e) {
                    throw new AuraRuntimeException(String.format(
                            "Invalid value '%s' specified for 'aura:load' attribute", loadString), getLocation());
View Full Code Here

    protected void readSystemAttributes() throws QuickFixException {
        super.readSystemAttributes();
        builder.setLocalId(getSystemAttributeValue("id"));
        String load = getSystemAttributeValue("load");
        if (!AuraTextUtil.isNullEmptyOrWhitespace(load)) {
            Load loadVal;
            try {
                loadVal = Load.valueOf(load.toUpperCase());
            } catch (IllegalArgumentException e) {
                throw new AuraRuntimeException(String.format("Invalid value '%s' specified for 'aura:load' attribute",
                        load), getLocation());
View Full Code Here

TOP

Related Classes of org.auraframework.def.ComponentDefRef.Load

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.