public class JsonLDParser extends ParserBase
ParserBase.ILinkResolver, ParserBase.ValidationPolicycontext, errors, linkResolver, policy| Constructor and Description |
|---|
JsonLDParser(IWorkerContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
protected void |
closeArray() |
void |
compose(Element e,
OutputStream stream,
IParser.OutputStyle style,
String base) |
protected void |
decorateCoding(Element coding) |
protected void |
open(String name) |
protected void |
openArray(String name) |
Element |
parse(InputStream stream) |
protected void |
prop(String name,
String value) |
getDefinition, getDefinition, getLinkResolver, isPrimitive, logError, setLinkResolver, setupValidationpublic JsonLDParser(IWorkerContext context)
public Element parse(InputStream stream)
parse in class ParserBaseprotected void prop(String name, String value) throws IOException
IOExceptionprotected void open(String name) throws IOException
IOExceptionprotected void close() throws IOException
IOExceptionprotected void openArray(String name) throws IOException
IOExceptionprotected void closeArray() throws IOException
IOExceptionpublic void compose(Element e, OutputStream stream, IParser.OutputStyle style, String base) throws Exception
compose in class ParserBaseExceptionprotected void decorateCoding(Element coding) throws IOException
IOExceptionCopyright © 2014–2017 University Health Network. All rights reserved.