Package org.hl7.fhir.dstu3.elementmodel
Class TurtleParser
java.lang.Object
org.hl7.fhir.dstu3.elementmodel.ParserBase
org.hl7.fhir.dstu3.elementmodel.TurtleParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.dstu3.elementmodel.ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicy
-
Field Summary
Fields inherited from class org.hl7.fhir.dstu3.elementmodel.ParserBase
context, errors, linkResolver, policy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
compose
(Element e, OutputStream stream, IParser.OutputStyle style, String base) void
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.dstu3.elementmodel.ParserBase
getDefinition, getDefinition, getLinkResolver, isPrimitive, logError, setLinkResolver, setupValidation
-
Field Details
-
FHIR_URI_BASE
-
FHIR_VERSION_BASE
-
-
Constructor Details
-
TurtleParser
-
-
Method Details
-
parse
public Element parse(InputStream input) throws IOException, org.hl7.fhir.exceptions.FHIRFormatError, org.hl7.fhir.exceptions.DefinitionException - Specified by:
parse
in classParserBase
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRFormatError
org.hl7.fhir.exceptions.DefinitionException
-
compose
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws IOException - Specified by:
compose
in classParserBase
- Throws:
IOException
-
compose
-
getURIType
-
getReferenceURI
-
decorateReference
-
decorateCoding
-
ttlLiteral
-