Package com.volantis.mcs.build.themes.definitions

Examples of com.volantis.mcs.build.themes.definitions.Rules


                System.out.println("Ignoring reference to computedRef");
            } else {

                Named propertyName = definitionsFactory.createProperty();
                pushObject(propertyName);
                Rules rules = definitionsFactory.createRules();
                pushObject(rules);
                processThemePropertyChildren(element);
                popObject();
                popObject();

                reference.setPropertyName(propertyName.getName());
                reference.setRules(rules.getRuleSet());
            }

        } else if (name.equals("rule")) {

            Rules ruleSet = (Rules) findObject(Rules.class);

            if (ruleSet == null) {
                System.out.println("Ignoring 'rule' element");
            } else {
                Rule rule = definitionsFactory.createRule();
                pushObject(rule);
                processThemePropertyChildren(element);
                popObject();

                ruleSet.addRule(rule.getFrom(), rule.getTo());
            }

        } else if (name.equals("from")) {
            Rule rule = (Rule) findObject(Rule.class);
            if (rule == null) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.build.themes.definitions.Rules

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.