use of org.ehrbase.serialisation.flatencoding.std.marshal.config.StdConfig in project openEHR_SDK by ehrbase.
the class StdFromCompositionWalker method preHandle.
@Override
protected void preHandle(Context<Map<String, Object>> context) {
// Handle if at a End-Node
if (!visitChildren(context.getNodeDeque().peek()) && !context.getFlatHelper().skip(context)) {
RMObject currentObject = context.getRmObjectDeque().peek();
StdConfig stdConfig = findStdConfig(currentObject.getClass());
context.getObjectDeque().peek().putAll(stdConfig.buildChildValues(context.getFlatHelper().buildNamePath(context, true), currentObject, context));
}
}
Aggregations