Class OrganizationHtmlGenerator

All Implemented Interfaces:
HtmlGenerator<org.hl7.fhir.r4.model.Organization>

public class OrganizationHtmlGenerator extends ResourceHtmlGenerator implements HtmlGenerator<org.hl7.fhir.r4.model.Organization>
  • Constructor Details

    • OrganizationHtmlGenerator

      public OrganizationHtmlGenerator()
  • Method Details

    • getResourceType

      public Class<org.hl7.fhir.r4.model.Organization> getResourceType()
      Specified by:
      getResourceType in interface HtmlGenerator<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:
      writeHtml in interface HtmlGenerator<org.hl7.fhir.r4.model.Organization>
      Parameters:
      resourceUri - not null
      resource - the resource, not null
      out - the outputStreamWriter, not null
      Throws:
      IOException
    • isResourceSupported

      public boolean isResourceSupported(URI resourceUri, org.hl7.fhir.r4.model.Resource resource)
      Specified by:
      isResourceSupported in interface HtmlGenerator<org.hl7.fhir.r4.model.Organization>
      Parameters:
      resourceUri - not null
      resource - not null
      Returns:
      true if this HtmlGenerator supports the given resource for the given uri