public class TurtleParser extends ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicy| Modifier and Type | Field and Description |
|---|---|
static String |
FHIR_URI_BASE |
static String |
FHIR_VERSION_BASE |
context, errors, linkResolver, policy, showDecorations| Constructor and Description |
|---|
TurtleParser(IWorkerContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
compose(Element e,
OutputStream stream,
IParser.OutputStyle style,
String base) |
void |
compose(Element e,
Turtle ttl,
String base) |
protected void |
decorateCanonical(Turtle.Complex t,
Element canonical) |
protected void |
decorateCoding(Turtle.Complex t,
Element coding,
Turtle.Section section) |
protected void |
decorateReference(Turtle.Complex t,
Element coding) |
protected String |
getReferenceURI(String ref) |
protected String |
getURIType(String uri) |
Element |
parse(InputStream input) |
static String |
ttlLiteral(String value,
String type) |
getDefinition, getDefinition, getLinkResolver, isPrimitive, isShowDecorations, logError, setLinkResolver, setShowDecorations, setupValidationpublic static String FHIR_URI_BASE
public static String FHIR_VERSION_BASE
public TurtleParser(IWorkerContext context)
public Element parse(InputStream input) throws IOException, org.hl7.fhir.exceptions.FHIRException
parse in class ParserBaseIOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws IOException, org.hl7.fhir.exceptions.FHIRException
compose in class ParserBaseIOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic void compose(Element e, Turtle ttl, String base) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionprotected String getURIType(String uri)
protected String getReferenceURI(String ref)
protected void decorateReference(Turtle.Complex t, Element coding)
protected void decorateCanonical(Turtle.Complex t, Element canonical)
public static String ttlLiteral(String value, String type)
protected void decorateCoding(Turtle.Complex t, Element coding, Turtle.Section section) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.