Class TaskHtmlGenerator

java.lang.Object
dev.dsf.fhir.adapter.InputHtmlGenerator
dev.dsf.fhir.adapter.TaskHtmlGenerator
All Implemented Interfaces:
HtmlGenerator<org.hl7.fhir.r4.model.Task>

public class TaskHtmlGenerator extends InputHtmlGenerator implements HtmlGenerator<org.hl7.fhir.r4.model.Task>
  • Constructor Details

    • TaskHtmlGenerator

      public TaskHtmlGenerator()
  • Method Details

    • getResourceType

      public Class<org.hl7.fhir.r4.model.Task> getResourceType()
      Specified by:
      getResourceType in interface HtmlGenerator<org.hl7.fhir.r4.model.Task>
      Returns:
      the resource type supported by this generator
    • isResourceSupported

      public boolean isResourceSupported(String basePath, URI resourceUri, org.hl7.fhir.r4.model.Resource resource)
      Specified by:
      isResourceSupported in interface HtmlGenerator<org.hl7.fhir.r4.model.Task>
      Parameters:
      basePath - the applications base base, e.g. /fhir/
      resourceUri - not null
      resource - not null
      Returns:
      true if this HtmlGenerator supports the given resource for the given uri
    • writeHtml

      public void writeHtml(String basePath, URI resourceUri, org.hl7.fhir.r4.model.Task task, OutputStreamWriter out) throws IOException
      Specified by:
      writeHtml in interface HtmlGenerator<org.hl7.fhir.r4.model.Task>
      Parameters:
      basePath - the applications base base, e.g. /fhir/
      resourceUri - not null
      task - the resource, not null
      out - the outputStreamWriter, not null
      Throws:
      IOException