Package org.hl7.fhir.r4.elementmodel
Class TurtleParser
java.lang.Object
org.hl7.fhir.r4.elementmodel.ParserBase
org.hl7.fhir.r4.elementmodel.TurtleParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r4.elementmodel.ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicy
-
Field Summary
Fields inherited from class org.hl7.fhir.r4.elementmodel.ParserBase
context, errors, linkResolver, policy, showDecorations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compose
(Element e, OutputStream stream, IParser.OutputStyle style, String base) void
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) parse
(InputStream input) static String
ttlLiteral
(String value, String type) Methods inherited from class org.hl7.fhir.r4.elementmodel.ParserBase
getDefinition, getDefinition, getLinkResolver, isPrimitive, isShowDecorations, logError, setLinkResolver, setShowDecorations, setupValidation
-
Field Details
-
FHIR_URI_BASE
-
FHIR_VERSION_BASE
-
-
Constructor Details
-
TurtleParser
-
-
Method Details
-
parse
- Specified by:
parse
in classParserBase
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
compose
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws IOException, org.hl7.fhir.exceptions.FHIRException - Specified by:
compose
in classParserBase
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
compose
public void compose(Element e, Turtle ttl, String base) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
getURIType
-
getReferenceURI
-
decorateReference
-
decorateCanonical
-
ttlLiteral
-
decorateCoding
protected void decorateCoding(Turtle.Complex t, Element coding, Turtle.Section section) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-