Package org.hl7.fhir.r5.elementmodel
Class TurtleParser
java.lang.Object
org.hl7.fhir.r5.elementmodel.ParserBase
org.hl7.fhir.r5.elementmodel.TurtleParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
ParserBase.IdRenderingPolicy, ParserBase.ILinkResolver, ParserBase.ValidationPolicy
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
context, idPolicy, linkResolver, logical, policy, showDecorations, signatureServices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compose
(Element e, OutputStream stream, IParser.OutputStyle style, String base) void
protected void
decorateCanonical
(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element canonical) protected void
decorateCoding
(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding, org.hl7.fhir.utilities.turtle.Turtle.Section section) protected void
decorateReference
(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding) protected String
getReferenceURI
(String ref) getStyle()
protected String
getURIType
(String uri) parse
(InputStream inStream) void
setStyle
(IParser.OutputStyle style) static String
ttlLiteral
(String value, String type) Methods inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
getContext, getContextUtilities, getDefinition, getDefinition, getIdPolicy, getImpliedProfile, getLinkResolver, getLogical, getPolicy, getProfileUtilities, getReferenceForElement, getSignatureServices, hasLogical, isPrimitive, isShowDecorations, logError, parseSingle, setIdPolicy, setLinkResolver, setLogical, setShowDecorations, setSignatureServices, setupValidation, wantCompose
-
Field Details
-
FHIR_URI_BASE
-
FHIR_VERSION_BASE
-
-
Constructor Details
-
TurtleParser
-
-
Method Details
-
parse
public List<ValidatedFragment> parse(InputStream inStream) throws IOException, org.hl7.fhir.exceptions.FHIRException - 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, org.hl7.fhir.utilities.turtle.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(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding, org.hl7.fhir.utilities.turtle.Turtle.Section section) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
getStyle
-
setStyle
-