use of org.kie.dmn.model.api.ImportedValues in project drools by kiegroup.
the class ImportedValuesConverter method writeAttributes.
@Override
protected void writeAttributes(HierarchicalStreamWriter writer, Object parent) {
super.writeAttributes(writer, parent);
ImportedValues iv = (ImportedValues) parent;
if (iv.getExpressionLanguage() != null)
writer.addAttribute(EXPRESSION_LANGUAGE, iv.getExpressionLanguage());
}
use of org.kie.dmn.model.api.ImportedValues in project drools by kiegroup.
the class ImportedValuesConverter method writeAttributes.
@Override
protected void writeAttributes(HierarchicalStreamWriter writer, Object parent) {
super.writeAttributes(writer, parent);
ImportedValues iv = (ImportedValues) parent;
if (iv.getExpressionLanguage() != null)
writer.addAttribute(EXPRESSION_LANGUAGE, iv.getExpressionLanguage());
}
use of org.kie.dmn.model.api.ImportedValues in project drools by kiegroup.
the class ImportedValuesConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
ImportedValues iv = (ImportedValues) parent;
writeChildrenNode(writer, context, iv.getImportedElement(), IMPORTED_ELEMENT);
}
use of org.kie.dmn.model.api.ImportedValues in project drools by kiegroup.
the class ImportedValuesConverter method assignAttributes.
@Override
protected void assignAttributes(HierarchicalStreamReader reader, Object parent) {
super.assignAttributes(reader, parent);
ImportedValues iv = (ImportedValues) parent;
String expressionLanguage = reader.getAttribute(EXPRESSION_LANGUAGE);
iv.setExpressionLanguage(expressionLanguage);
}
use of org.kie.dmn.model.api.ImportedValues in project drools by kiegroup.
the class ImportedValuesConverter method writeChildren.
@Override
protected void writeChildren(HierarchicalStreamWriter writer, MarshallingContext context, Object parent) {
super.writeChildren(writer, context, parent);
ImportedValues iv = (ImportedValues) parent;
writeChildrenNode(writer, context, iv.getImportedElement(), IMPORTED_ELEMENT);
}
Aggregations