Class TurtleParser
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.metamodel.ParserBase
-
- org.hl7.fhir.dstu2016may.metamodel.TurtleParser
-
public class TurtleParser extends ParserBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
ParserBase.ValidationPolicy
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
context, errors, policy
-
-
Constructor Summary
Constructors Constructor Description TurtleParser(IWorkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompose(Element e, OutputStream stream, IParser.OutputStyle style, String base)protected voiddecorateCoding(RdfGenerator.Complex t, Element coding)protected voiddecorateReference(RdfGenerator.Complex t, Element coding)Elementparse(InputStream stream)protected StringttlLiteral(String value, String type)-
Methods inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
getChildProperties, getDefinition, getDefinition, isPrimitive, logError, setupValidation
-
-
-
-
Constructor Detail
-
TurtleParser
public TurtleParser(IWorkerContext context)
-
-
Method Detail
-
parse
public Element parse(InputStream stream) throws Exception
- Specified by:
parsein classParserBase- Throws:
Exception
-
compose
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws Exception
- Specified by:
composein classParserBase- Throws:
Exception
-
decorateReference
protected void decorateReference(RdfGenerator.Complex t, Element coding)
-
decorateCoding
protected void decorateCoding(RdfGenerator.Complex t, Element coding)
-
ttlLiteral
protected String ttlLiteral(String value, String type)
-
-