Package org.hl7.fhir.convertors.context
Class VersionConvertorContext<T>
java.lang.Object
org.hl7.fhir.convertors.context.VersionConvertorContext<T>
- Type Parameters:
T
-
-
Constructor Details
-
VersionConvertorContext
public VersionConvertorContext()
-
-
Method Details
-
init
Initializes the conversion context. If a context already exists, this will just add the path to the current tracked path for the conversion context.- Parameters:
versionConvertor
- Instance of the version convertor context to use.path
- Current path (i.e. String label) for the given conversion.
-
close
Closes the current path. This removes the label from the current stored path. If there is no remaining path set after this path is removed, the context convertor and path are cleared from memory.- Parameters:
path
-String
label path to add.
-
getPath
Will return theString
corresponding to the current conversion "path". ex: "Bundle.Appointment" -
getVersionConvertor
Returns the current instance of the version convertor.
-