Package dev.dsf.fhir.adapter
Class ResourceHtmlGenerator
java.lang.Object
dev.dsf.fhir.adapter.AbstractHtmlAdapter
dev.dsf.fhir.adapter.ResourceHtmlGenerator
- Direct Known Subclasses:
ActivityDefinitionHtmlGenerator,EndpointHtmlGenerator,OrganizationAffiliationHtmlGenerator,OrganizationHtmlGenerator
-
Field Summary
Fields inherited from class dev.dsf.fhir.adapter.AbstractHtmlAdapter
DATE_FORMAT, DATE_TIME_DISPLAY_FORMAT, DATE_TIME_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwriteMeta(org.hl7.fhir.r4.model.Resource resource, OutputStreamWriter out) protected voidwriteRow(String label, String text, OutputStreamWriter out) protected voidwriteRowWithAdditionalRowClasses(String label, String text, String additionalRowClasses, OutputStreamWriter out) protected voidwriteRowWithAdditionalRowClassesAndTextClasses(String label, String text, String additionalRowClasses, String additionalTextClasses, OutputStreamWriter out) protected voidwriteRowWithAdditionalTextClasses(String label, String text, String additionalTextClasses, OutputStreamWriter out) protected voidwriteRowWithLink(String label, String path, String id, OutputStreamWriter out) protected voidwriteRowWithList(String label, List<String> texts, OutputStreamWriter out) protected voidwriteRowWithListAndAdditionalRowClasses(String label, List<String> texts, String additionalRowClasses, OutputStreamWriter out) protected voidwriteSectionHeader(String text, OutputStreamWriter out) Methods inherited from class dev.dsf.fhir.adapter.AbstractHtmlAdapter
format, formatLastUpdated
-
Constructor Details
-
ResourceHtmlGenerator
public ResourceHtmlGenerator()
-
-
Method Details
-
writeMeta
protected void writeMeta(org.hl7.fhir.r4.model.Resource resource, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeSectionHeader
- Throws:
IOException
-
writeRow
- Throws:
IOException
-
writeRowWithAdditionalRowClasses
protected void writeRowWithAdditionalRowClasses(String label, String text, String additionalRowClasses, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeRowWithAdditionalTextClasses
protected void writeRowWithAdditionalTextClasses(String label, String text, String additionalTextClasses, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeRowWithAdditionalRowClassesAndTextClasses
protected void writeRowWithAdditionalRowClassesAndTextClasses(String label, String text, String additionalRowClasses, String additionalTextClasses, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeRowWithLink
protected void writeRowWithLink(String label, String path, String id, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeRowWithList
protected void writeRowWithList(String label, List<String> texts, OutputStreamWriter out) throws IOException - Throws:
IOException
-
writeRowWithListAndAdditionalRowClasses
protected void writeRowWithListAndAdditionalRowClasses(String label, List<String> texts, String additionalRowClasses, OutputStreamWriter out) throws IOException - Throws:
IOException
-