Class ActivityDefinitionHtmlGenerator

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

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

    • ActivityDefinitionHtmlGenerator

      public ActivityDefinitionHtmlGenerator()
  • Method Details

    • getResourceType

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

      public void writeHtml(URI resourceUri, org.hl7.fhir.r4.model.ActivityDefinition resource, OutputStreamWriter out) throws IOException
      Specified by:
      writeHtml in interface HtmlGenerator<org.hl7.fhir.r4.model.ActivityDefinition>
      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.ActivityDefinition>
      Parameters:
      resourceUri - not null
      resource - not null
      Returns:
      true if this HtmlGenerator supports the given resource for the given uri