use of org.kie.dmn.model.v1_1.ContextEntry in project drools by kiegroup.
the class ContextEntryConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
ContextEntry ce = (ContextEntry) parent;
if (ce.getVariable() != null)
writeChildrenNode(writer, context, ce.getVariable(), VARIABLE);
writeChildrenNode(writer, context, ce.getExpression(), MarshallingUtils.defineExpressionNodeName(ce.getExpression()));
}
Aggregations