use of org.kie.dmn.model.api.Iterator in project drools by kiegroup.
the class IteratorConverter method writeAttributes.
@Override
protected void writeAttributes(HierarchicalStreamWriter writer, Object parent) {
super.writeAttributes(writer, parent);
Iterator e = (Iterator) parent;
if (e.getId() != null) {
writer.addAttribute(ITERATOR_VARIABLE, e.getIteratorVariable());
}
}
use of org.kie.dmn.model.api.Iterator in project drools by kiegroup.
the class IteratorConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Iterator i = (Iterator) parent;
writeChildrenNode(writer, context, i.getIn(), IN);
}
Aggregations