/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Rule rule = (Rule) super.parse(instance, node, value); // <xsd:element minOccurs="0" ref="se:Description"/> if (node.hasChild("Description")) { rule.setDescription((Description) node.getChildValue("Description")); } return rule; } }
copy.setDescription(descCopy); copy.setLegendGraphic(legendCopy); copy.setName(rule.getName());
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { Rule rule = (Rule) super.parse(instance, node, value); //<xsd:element minOccurs="0" ref="se:Description"/> if (node.hasChild("Description")) { rule.setDescription((Description) node.getChildValue("Description")); } return rule; }
@Override public void visit(Rule rule) { super.visit(rule); Rule copy = (Rule) pages.peek(); Description description = new DescriptionImpl( new SimpleInternationalString(targetLabel), copy.getDescription() != null ? copy.getDescription().getAbstract() : null); copy.setDescription(description); } }
copy.setDescription(descCopy); copy.setLegendGraphic(legendCopy); copy.setName(rule.getName());
copy.setDescription(descCopy); copy.setLegendGraphic(legendCopy); copy.setName(rule.getName());