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 NarrativeTemplateManifestforManifestFileContents(String... theResources)static NarrativeTemplateManifestforManifestFileContents(Collection<String> theResources)static NarrativeTemplateManifestforManifestFileLocation(String... thePropertyFilePaths)static NarrativeTemplateManifestforManifestFileLocation(Collection<String> thePropertyFilePaths)intgetNamedTemplateCount()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:
getTemplateByResourceNamein interfaceINarrativeTemplateManifest
-
getTemplateByName
public List<INarrativeTemplate> getTemplateByName(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, String theName)
- Specified by:
getTemplateByNamein interfaceINarrativeTemplateManifest
-
getTemplateByElement
public List<INarrativeTemplate> getTemplateByElement(FhirContext theFhirContext, EnumSet<TemplateTypeEnum> theStyles, IBase theElement)
- Specified by:
getTemplateByElementin 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
-
-