Class StdToCompositionWalker
java.lang.Object
org.ehrbase.openehr.sdk.serialisation.walker.Walker<T>
org.ehrbase.openehr.sdk.serialisation.walker.ToCompositionWalker<Map<FlatPathDto,String>>
org.ehrbase.openehr.sdk.serialisation.flatencoding.std.umarshal.StdToCompositionWalker
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ehrbase.openehr.sdk.serialisation.walker.Walker
Walker.EventHelper -
Field Summary
Fields inherited from class org.ehrbase.openehr.sdk.serialisation.walker.Walker
ARCHIE_RM_INFO_LOOKUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> StringbuildNamePathWithElementHandling(Context<T> context) protected intcalculateSize(Context<Map<FlatPathDto, String>> context, WebTemplateNode childNode) protected Map<FlatPathDto,String> extract(Context<Map<FlatPathDto, String>> context, WebTemplateNode child, boolean isChoice, Integer count) protected org.apache.commons.lang3.tuple.ImmutablePair<Map<FlatPathDto,String>, com.nedap.archie.rm.RMObject> extractPair(Context<Map<FlatPathDto, String>> context, WebTemplateNode currentNode, Map<String, List<WebTemplateNode>> choices, WebTemplateNode childNode, Integer i) static <T extends com.nedap.archie.rm.RMObject>
RMUnmarshaller<T>findRMUnmarshaller(Class<T> aClass) static <T extends com.nedap.archie.rm.RMObject>
List<UnmarshalPostprocessor<T>>findUnmarshalPostprocessors(Class<T> aClass) static voidprotected voidhandleInheritance(WebTemplateNode currentNode) Add inheritance classes as explicit choicesprotected voidpostHandle(Context<Map<FlatPathDto, String>> context) protected voidpreHandle(Context<Map<FlatPathDto, String>> context) voidwalk(com.nedap.archie.rm.composition.Composition composition, Map<FlatPathDto, String> object, WebTemplate webTemplate, DefaultValues defaultValues, String templateId) Methods inherited from class org.ehrbase.openehr.sdk.serialisation.walker.ToCompositionWalker
extractRMChild, insertDefaults
-
Constructor Details
-
StdToCompositionWalker
public StdToCompositionWalker()
-
-
Method Details
-
walk
public void walk(com.nedap.archie.rm.composition.Composition composition, Map<FlatPathDto, String> object, WebTemplate webTemplate, DefaultValues defaultValues, String templateId) - Overrides:
walkin classWalker<Map<FlatPathDto,String>>
-
extract
protected Map<FlatPathDto,String> extract(Context<Map<FlatPathDto, String>> context, WebTemplateNode child, boolean isChoice, Integer count) - Specified by:
extractin classWalker<Map<FlatPathDto,String>>
-
buildNamePathWithElementHandling
-
extractPair
protected org.apache.commons.lang3.tuple.ImmutablePair<Map<FlatPathDto,String>, extractPaircom.nedap.archie.rm.RMObject> (Context<Map<FlatPathDto, String>> context, WebTemplateNode currentNode, Map<String, List<WebTemplateNode>> choices, WebTemplateNode childNode, Integer i) - Overrides:
extractPairin classToCompositionWalker<Map<FlatPathDto,String>>
-
preHandle
- Specified by:
preHandlein classWalker<Map<FlatPathDto,String>>
-
findRMUnmarshaller
public static <T extends com.nedap.archie.rm.RMObject> RMUnmarshaller<T> findRMUnmarshaller(Class<T> aClass) -
postHandle
- Overrides:
postHandlein classToCompositionWalker<Map<FlatPathDto,String>>
-
findUnmarshalPostprocessors
public static <T extends com.nedap.archie.rm.RMObject> List<UnmarshalPostprocessor<T>> findUnmarshalPostprocessors(Class<T> aClass) -
handleInheritance
Description copied from class:WalkerAdd inheritance classes as explicit choices- Overrides:
handleInheritancein classWalker<Map<FlatPathDto,String>>
-
handleDVTextInternal
-
calculateSize
- Specified by:
calculateSizein classWalker<Map<FlatPathDto,String>>
-
getConsumedPaths
-