use of org.kie.dmn.model.api.Binding in project drools by kiegroup.
the class InvocationConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Invocation i = (Invocation) parent;
if (i.getExpression() != null)
writeChildrenNode(writer, context, i.getExpression(), MarshallingUtils.defineExpressionNodeName(i.getExpression()));
for (Binding b : i.getBinding()) {
writeChildrenNode(writer, context, b, BINDING);
}
}
use of org.kie.dmn.model.api.Binding in project drools by kiegroup.
the class BindingConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Binding b = (Binding) parent;
writeChildrenNode(writer, context, b.getParameter(), PARAMETER);
if (b.getExpression() != null)
writeChildrenNode(writer, context, b.getExpression(), MarshallingUtils.defineExpressionNodeName(b.getExpression()));
}
use of org.kie.dmn.model.api.Binding in project drools by kiegroup.
the class BindingConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Binding b = (Binding) parent;
writeChildrenNode(writer, context, b.getParameter(), PARAMETER);
if (b.getExpression() != null)
writeChildrenNode(writer, context, b.getExpression(), MarshallingUtils.defineExpressionNodeName(xstream, b.getExpression()));
}
use of org.kie.dmn.model.api.Binding in project drools by kiegroup.
the class InvocationConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Invocation i = (Invocation) parent;
if (i.getExpression() != null)
writeChildrenNode(writer, context, i.getExpression(), MarshallingUtils.defineExpressionNodeName(xstream, i.getExpression()));
for (Binding b : i.getBinding()) {
writeChildrenNode(writer, context, b, BINDING);
}
}
use of org.kie.dmn.model.api.Binding in project drools by kiegroup.
the class InvocationConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
Invocation i = (Invocation) parent;
if (i.getExpression() != null)
writeChildrenNode(writer, context, i.getExpression(), MarshallingUtils.defineExpressionNodeName(xstream, i.getExpression()));
for (Binding b : i.getBinding()) {
writeChildrenNode(writer, context, b, BINDING);
}
}
Aggregations