} else if (name.equals("listType") ||
name.equals("orderedSetType")) {
processThemePropertyChildren(element);
} else if (name.equals("propertyRef")) {
// This only works inside initialValue.
PropertyReference reference = (PropertyReference)
findObject(PropertyReference.class);
String propertyName = element.getText();
if (reference == null) {
System.out.println("Ignoring reference to property '" +
propertyName + "'");
} else {
reference.setPropertyName(propertyName);
}
} else if (name.equals("computedRef")) {
// This only works inside initialValue.
ComputedReference reference = (ComputedReference)
findObject(ComputedReference.class);
if (reference == null) {
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);