Package dev.dsf.fhir.adapter
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>
-
Field Summary
Fields inherited from class dev.dsf.fhir.adapter.InputHtmlGenerator
DATE_FORMAT, DATE_TIME_DISPLAY_FORMAT, DATE_TIME_FORMAT, ELEMENT_TYPE_LINK, ELEMENT_TYPE_PATH, ELEMENT_TYPE_ROW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<org.hl7.fhir.r4.model.Task>booleanisResourceSupported(String basePath, URI resourceUri, org.hl7.fhir.r4.model.Resource resource) voidwriteHtml(String basePath, URI resourceUri, org.hl7.fhir.r4.model.Task task, OutputStreamWriter out) Methods inherited from class dev.dsf.fhir.adapter.InputHtmlGenerator
writeDisplayRow, writeInputExtensionFields, writeInputField, writeInputLabel, writeInputRow
-
Constructor Details
-
TaskHtmlGenerator
public TaskHtmlGenerator()
-
-
Method Details
-
getResourceType
- Specified by:
getResourceTypein interfaceHtmlGenerator<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:
isResourceSupportedin interfaceHtmlGenerator<org.hl7.fhir.r4.model.Task>- Parameters:
basePath- the applications base base, e.g. /fhir/resourceUri- notnullresource- notnull- Returns:
trueif 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:
writeHtmlin interfaceHtmlGenerator<org.hl7.fhir.r4.model.Task>- Parameters:
basePath- the applications base base, e.g. /fhir/resourceUri- notnulltask- the resource, notnullout- the outputStreamWriter, notnull- Throws:
IOException
-