
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
FieldsFields inherited from class org.hl7.fhir.r5.elementmodel.ParserBase
canonicalFilter, context, idPolicy, linkResolver, logical, policy, showDecorations, signatureServices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompose(Element e, OutputStream stream, IParser.OutputStyle style, String base) voidprotected voiddecorateCanonical(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element canonical) protected voiddecorateCoding(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding, org.hl7.fhir.utilities.turtle.Turtle.Section section) protected voiddecorateReference(org.hl7.fhir.utilities.turtle.Turtle.Complex t, Element coding) protected StringgetReferenceURI(String ref) getStyle()protected StringgetURIType(String uri) parse(InputStream inStream) voidsetStyle(IParser.OutputStyle style) static StringttlLiteral(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, setCanonicalFilter, setIdPolicy, setLinkResolver, setLogical, setShowDecorations, setSignatureServices, setupValidation, urlTail, 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:
parsein classParserBase- Throws:
IOExceptionorg.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:
composein classParserBase- Throws:
IOExceptionorg.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
-