Class JsonLDParser
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.metamodel.ParserBase
-
- org.hl7.fhir.dstu2016may.metamodel.JsonLDParser
-
public class JsonLDParser 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 JsonLDParser(IWorkerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclose()protected voidcloseArray()voidcompose(Element e, OutputStream stream, IParser.OutputStyle style, String base)protected voiddecorateCoding(Element coding)protected voidopen(String name)protected voidopenArray(String name)Elementparse(InputStream stream)protected voidprop(String name, String value)-
Methods inherited from class org.hl7.fhir.dstu2016may.metamodel.ParserBase
getChildProperties, getDefinition, getDefinition, isPrimitive, logError, setupValidation
-
-
-
-
Constructor Detail
-
JsonLDParser
public JsonLDParser(IWorkerContext context)
-
-
Method Detail
-
parse
public Element parse(InputStream stream) throws Exception
- Specified by:
parsein classParserBase- Throws:
Exception
-
prop
protected void prop(String name, String value) throws IOException
- Throws:
IOException
-
open
protected void open(String name) throws IOException
- Throws:
IOException
-
close
protected void close() throws IOException
- Throws:
IOException
-
openArray
protected void openArray(String name) throws IOException
- Throws:
IOException
-
closeArray
protected void closeArray() throws IOException
- Throws:
IOException
-
compose
public void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws Exception
- Specified by:
composein classParserBase- Throws:
Exception
-
decorateCoding
protected void decorateCoding(Element coding) throws IOException
- Throws:
IOException
-
-