Class ValidationOutputRenderer
- java.lang.Object
-
- org.hl7.fhir.validation.cli.renderers.ValidationOutputRenderer
-
- Direct Known Subclasses:
CSVRenderer,DefaultRenderer,ESLintCompactRenderer,NativeRenderer
public abstract class ValidationOutputRenderer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancrumbTrailsprotected PrintStreamdstprotected booleanmoreThanOne
-
Constructor Summary
Constructors Constructor Description ValidationOutputRenderer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidfinish()booleanhandlesBundleDirectly()booleanisCrumbTrails()voidrender(org.hl7.fhir.r5.model.Bundle bundle)abstract voidrender(org.hl7.fhir.r5.model.OperationOutcome op)voidsetCrumbTrails(boolean crumbTrails)voidsetOutput(PrintStream dst)voidstart(boolean moreThanOne)
-
-
-
Field Detail
-
crumbTrails
protected boolean crumbTrails
-
moreThanOne
protected boolean moreThanOne
-
dst
protected PrintStream dst
-
-
Constructor Detail
-
ValidationOutputRenderer
public ValidationOutputRenderer()
-
-
Method Detail
-
isCrumbTrails
public boolean isCrumbTrails()
-
setCrumbTrails
public void setCrumbTrails(boolean crumbTrails)
-
start
public void start(boolean moreThanOne)
-
render
public abstract void render(org.hl7.fhir.r5.model.OperationOutcome op) throws IOException
- Throws:
IOException
-
render
public void render(org.hl7.fhir.r5.model.Bundle bundle) throws IOException
- Throws:
IOException
-
finish
public void finish()
-
setOutput
public void setOutput(PrintStream dst)
-
handlesBundleDirectly
public boolean handlesBundleDirectly()
-
-