Package ca.uhn.fhir.narrative
Class CustomThymeleafNarrativeGenerator
java.lang.Object
ca.uhn.fhir.narrative2.BaseNarrativeGenerator
ca.uhn.fhir.narrative2.ThymeleafNarrativeGenerator
ca.uhn.fhir.narrative.BaseThymeleafNarrativeGenerator
ca.uhn.fhir.narrative.CustomThymeleafNarrativeGenerator
- All Implemented Interfaces:
INarrativeGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionCustomThymeleafNarrativeGenerator(String... thePropertyFile)Create a new narrative generator -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPropertyFile(String... thePropertyFile)Set the property file to useMethods inherited from class ca.uhn.fhir.narrative.BaseThymeleafNarrativeGenerator
populateResourceNarrativeMethods inherited from class ca.uhn.fhir.narrative2.ThymeleafNarrativeGenerator
applyTemplate, getStyle, setMessageResolverMethods inherited from class ca.uhn.fhir.narrative2.BaseNarrativeGenerator
cleanWhitespace, getManifest, setManifest
-
Constructor Details
-
CustomThymeleafNarrativeGenerator
Create a new narrative generator- Parameters:
thePropertyFile- The name of the property file, in one of the following formats:- file:/path/to/file/file.properties
- classpath:/com/package/file.properties
-
-
Method Details
-
setPropertyFile
Set the property file to use- Parameters:
thePropertyFile- The name of the property file, in one of the following formats:- file:/path/to/file/file.properties
- classpath:/com/package/file.properties
-
getPropertyFile
- Specified by:
getPropertyFilein classBaseThymeleafNarrativeGenerator
-