
Package ca.uhn.fhir.narrative2
Class NarrativeTemplateManifest
- java.lang.Object
-
- ca.uhn.fhir.narrative2.NarrativeTemplateManifest
-
- All Implemented Interfaces:
INarrativeTemplateManifest
public class NarrativeTemplateManifest extends Object implements INarrativeTemplateManifest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NarrativeTemplateManifest
forManifestFileContents(String... theResources)
static NarrativeTemplateManifest
forManifestFileContents(Collection<String> theResources)
static NarrativeTemplateManifest
forManifestFileLocation(String... thePropertyFilePaths)
static NarrativeTemplateManifest
forManifestFileLocation(Collection<String> thePropertyFilePaths)
int
getNamedTemplateCount()
List<INarrativeTemplate>
getTemplateByElement(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement)
List<INarrativeTemplate>
getTemplateByName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theName)
List<INarrativeTemplate>
getTemplateByResourceName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theResourceName)
-
-
-
Method Detail
-
getNamedTemplateCount
public int getNamedTemplateCount()
-
getTemplateByResourceName
public List<INarrativeTemplate> getTemplateByResourceName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theResourceName)
- Specified by:
getTemplateByResourceName
in interfaceINarrativeTemplateManifest
-
getTemplateByName
public List<INarrativeTemplate> getTemplateByName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theName)
- Specified by:
getTemplateByName
in interfaceINarrativeTemplateManifest
-
getTemplateByElement
public List<INarrativeTemplate> getTemplateByElement(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement)
- Specified by:
getTemplateByElement
in interfaceINarrativeTemplateManifest
-
forManifestFileLocation
public static NarrativeTemplateManifest forManifestFileLocation(String... thePropertyFilePaths) throws IOException
- Throws:
IOException
-
forManifestFileLocation
public static NarrativeTemplateManifest forManifestFileLocation(Collection<String> thePropertyFilePaths) throws IOException
- Throws:
IOException
-
forManifestFileContents
public static NarrativeTemplateManifest forManifestFileContents(String... theResources) throws IOException
- Throws:
IOException
-
forManifestFileContents
public static NarrativeTemplateManifest forManifestFileContents(Collection<String> theResources) throws IOException
- Throws:
IOException
-
-