Package org.hl7.fhir.r5.renderers
Class LiquidRenderer
java.lang.Object
org.hl7.fhir.r5.renderers.Renderer
org.hl7.fhir.r5.renderers.DataRenderer
org.hl7.fhir.r5.renderers.ResourceRenderer
org.hl7.fhir.r5.renderers.LiquidRenderer
- All Implemented Interfaces:
CodeResolver
,LiquidEngine.ILiquidRenderingSupport
public class LiquidRenderer
extends ResourceRenderer
implements LiquidEngine.ILiquidRenderingSupport
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
ResourceRenderer.RendererType, ResourceRenderer.TableData, ResourceRenderer.TableRowData
Nested classes/interfaces inherited from class org.hl7.fhir.r5.renderers.Renderer
Renderer.RenderingStatus
Nested classes/interfaces inherited from interface org.hl7.fhir.r5.renderers.CodeResolver
CodeResolver.CodeResolution
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
multiLangMode, xverManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildNarrative
(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ResourceWrapper r) renderForLiquid
(Object appContext, Base base) Methods inherited from class org.hl7.fhir.r5.renderers.ResourceRenderer
buildNarrative, buildSummary, canonicalTitle, canRender, checkNarrative, describe, describeStatus, describeStatus, describeStatus, describeStatus, describeStatus, displayCanonical, displayReference, displayReference, findCanonical, findCanonical, generateCopyright, generateCopyrightTableRow, genSummaryTable, genSummaryTable, genSummaryTableContent, genSummaryTableContent, getNameForResource, hasAnchorName, inject, isMultiLangMode, makeIdFromBundleEntry, makeInternalBundleLink, markLanguage, parseType, renderCanonical, renderCanonical, renderCanonical, renderCommitteeLink, renderCommitteeLink, renderOrError, renderReference, renderReference, renderReference, renderResource, renderResourceTechDetails, renderResourceTechDetails, renderTable, renderUri, renderUri, resolveReference, resolveReference, setMultiLangMode
Methods inherited from class org.hl7.fhir.r5.renderers.DataRenderer
addMarkdown, addMarkdown, addTelecom, canRenderDataType, describeLang, describeVersion, display, displayBase, displayCodeableConcept, displayCoding, displayCoding, displayContactDetail, displayContactPoint, displayContactPoint, displayDataType, displayDataType, displayDateTime, displayHumanName, displayIdentifier, displayPeriod, displayQuantity, displayRange, displaySystem, getContext, getLinkForCode, getLocalizedBigDecimalValue, gt, gt, hasRenderableExtensions, hasRenderableExtensions, hasRenderableExtensions, makeAnchor, makeExceptionXhtml, processRelativeUrls, renderAddress, renderAnnotation, renderBase, renderCodeableConcept, renderCodeableReference, renderCoding, renderCoding, renderCoding, renderCodingWithDetails, renderContactPoint, renderDataRequirement, renderDataType, renderDataType, renderExpression, renderExtensionsInList, renderExtensionsInText, renderHumanName, renderIdentifier, renderMoney, renderPeriod, renderPrimitiveWithNoValue, renderPrimitiveWithNoValue, renderQuantity, renderQuantity, renderQuantity, renderRange, renderSampledData, renderTiming, renderTriggerDefinition, renderUsageContext, resolveCode, resolveCode, resolveCode, resolveCode, smartAddText, systemFromCanonical, versionFromCanonical
Methods inherited from class org.hl7.fhir.r5.renderers.Renderer
egt, formatPhrase, genStandardsStatus, getTranslatedCode, renderStatus, renderStatusDiv, renderStatusRow, renderStatusSummary, toStr, toStr, wrap, wrapNC, wrapWC
-
Constructor Details
-
LiquidRenderer
-
-
Method Details
-
buildSummary
- Specified by:
buildSummary
in classResourceRenderer
- Throws:
UnsupportedEncodingException
IOException
-
buildNarrative
public void buildNarrative(Renderer.RenderingStatus status, org.hl7.fhir.utilities.xhtml.XhtmlNode x, ResourceWrapper r) throws org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException, IOException, org.hl7.fhir.exceptions.FHIRException, EOperationOutcome - Specified by:
buildNarrative
in classResourceRenderer
- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
IOException
org.hl7.fhir.exceptions.FHIRException
EOperationOutcome
-
getRendererType
- Overrides:
getRendererType
in classResourceRenderer
-
renderForLiquid
public String renderForLiquid(Object appContext, Base base) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
renderForLiquid
in interfaceLiquidEngine.ILiquidRenderingSupport
- Throws:
org.hl7.fhir.exceptions.FHIRException
-