Package dev.dsf.fhir.adapter
Class OrganizationHtmlGenerator
java.lang.Object
dev.dsf.fhir.adapter.AbstractHtmlAdapter
dev.dsf.fhir.adapter.ResourceHtmlGenerator
dev.dsf.fhir.adapter.OrganizationHtmlGenerator
- All Implemented Interfaces:
HtmlGenerator<org.hl7.fhir.r4.model.Organization>
public class OrganizationHtmlGenerator
extends ResourceHtmlGenerator
implements HtmlGenerator<org.hl7.fhir.r4.model.Organization>
-
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 TypeMethodDescriptionClass<org.hl7.fhir.r4.model.Organization>booleanisResourceSupported(URI resourceUri, org.hl7.fhir.r4.model.Resource resource) voidwriteHtml(URI resourceUri, org.hl7.fhir.r4.model.Organization resource, OutputStreamWriter out) Methods inherited from class dev.dsf.fhir.adapter.ResourceHtmlGenerator
writeMeta, writeRow, writeRowWithAdditionalRowClasses, writeRowWithAdditionalRowClassesAndTextClasses, writeRowWithAdditionalTextClasses, writeRowWithLink, writeRowWithList, writeRowWithListAndAdditionalRowClasses, writeSectionHeaderMethods inherited from class dev.dsf.fhir.adapter.AbstractHtmlAdapter
format, formatLastUpdated
-
Constructor Details
-
OrganizationHtmlGenerator
public OrganizationHtmlGenerator()
-
-
Method Details
-
getResourceType
- Specified by:
getResourceTypein interfaceHtmlGenerator<org.hl7.fhir.r4.model.Organization>- Returns:
- the resource type supported by this generator
-
writeHtml
public void writeHtml(URI resourceUri, org.hl7.fhir.r4.model.Organization resource, OutputStreamWriter out) throws IOException - Specified by:
writeHtmlin interfaceHtmlGenerator<org.hl7.fhir.r4.model.Organization>- Parameters:
resourceUri- notnullresource- the resource, notnullout- the outputStreamWriter, notnull- Throws:
IOException
-
isResourceSupported
- Specified by:
isResourceSupportedin interfaceHtmlGenerator<org.hl7.fhir.r4.model.Organization>- Parameters:
resourceUri- notnullresource- notnull- Returns:
trueif this HtmlGenerator supports the given resource for the given uri
-