public abstract class RdfParserBase extends ParserBase implements IParser
IParser.OutputStyleallowComments, allowUnknownContent, handleComments, idMap, style, xhtmlMessageFHIR_NS, ID_REGEX, NS_XSI, XHTML_NS| Constructor and Description |
|---|
RdfParserBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
compose(OutputStream stream,
Resource resource)
Compose a resource to a stream, possibly using pretty presentation for a human reader (used in the spec, for example, but not normally in production)
|
void |
compose(OutputStream stream,
Type type,
String rootName)
Compose a type to a stream, possibly using pretty presentation for a human reader (used in the spec, for example, but not normally in production)
Not supported by all implementations.
|
protected abstract void |
composeResource(Turtle.Complex complex,
Resource resource) |
protected void |
composeXhtml(Turtle.Complex t,
String string,
String string2,
org.hl7.fhir.utilities.xhtml.XhtmlNode div,
int i) |
protected void |
decorateCode(Turtle.Complex t,
CodeType value) |
protected void |
decorateCode(Turtle.Complex t,
Enumeration<? extends Enum> value) |
protected void |
decorateCodeableConcept(Turtle.Complex t,
CodeableConcept element) |
protected void |
decorateCoding(Turtle.Complex t,
Coding element) |
ParserType |
getType()
check what kind of parser this is
|
Resource |
parse(InputStream input)
parse content that is known to be a resource
|
Type |
parseAnyType(InputStream input,
String knownType) |
Type |
parseType(InputStream input,
String knownType)
This is used to parse a type - a fragment of a resource.
|
protected String |
ttlLiteral(String value) |
composeBytes, composeBytes, composeString, composeString, getHandleComments, getOutputStyle, isAllowComments, isAllowUnknownContent, parse, parse, parseAnyType, parseAnyType, parseBase64BinaryPrimitive, parseBooleanPrimitive, parseBooleanPrimitive, parseCodePrimitive, parseDecimalPrimitive, parseDecimalPrimitive, parseIdPrimitive, parseIntegerPrimitive, parseIntegerPrimitive, parseOidPrimitive, parseStringPrimitive, parseTimePrimitive, parseType, parseType, parseUriPrimitive, parseUuidPrimitive, setAllowComments, setAllowUnknownContent, setHandleComments, setOutputStyle, setSuppressXhtmldetermineFormat, determineFormat, isValidId, loadFile, loadFile, makeId, makeParser, makeParser, toString, toString, toString, toString, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomposeBytes, composeBytes, composeString, composeString, getHandleComments, getOutputStyle, isAllowUnknownContent, parse, parse, parseType, parseType, setAllowUnknownContent, setHandleComments, setOutputStyle, setSuppressXhtmlpublic RdfParserBase()
protected abstract void composeResource(Turtle.Complex complex, Resource resource) throws IOException
IOExceptionpublic ParserType getType()
IParserpublic Resource parse(InputStream input) throws IOException, org.hl7.fhir.exceptions.FHIRFormatError
IParserparse in interface IParserIOExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorpublic Type parseType(InputStream input, String knownType) throws IOException, org.hl7.fhir.exceptions.FHIRFormatError
IParserparseType in interface IParserIOExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorpublic Type parseAnyType(InputStream input, String knownType) throws IOException, org.hl7.fhir.exceptions.FHIRFormatError
parseAnyType in interface IParserIOExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorpublic void compose(OutputStream stream, Resource resource) throws IOException
IParsercompose in interface IParserIOExceptionpublic void compose(OutputStream stream, Type type, String rootName) throws IOException
IParsercompose in interface IParserIOExceptionprotected String ttlLiteral(String value)
protected void composeXhtml(Turtle.Complex t, String string, String string2, org.hl7.fhir.utilities.xhtml.XhtmlNode div, int i)
protected void decorateCode(Turtle.Complex t, Enumeration<? extends Enum> value)
protected void decorateCode(Turtle.Complex t, CodeType value)
protected void decorateCoding(Turtle.Complex t, Coding element)
protected void decorateCodeableConcept(Turtle.Complex t, CodeableConcept element)
Copyright © 2014–2021 Health Level 7. All rights reserved.