| Package | Description |
|---|---|
| ca.uhn.fhir.context | |
| ca.uhn.fhir.parser |
| Modifier and Type | Method and Description |
|---|---|
void |
FhirContext.setParserErrorHandler(IParserErrorHandler theParserErrorHandler)
Sets a parser error handler to use by default on all parsers
|
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorHandlerAdapter
Adapter implementation with NOP implementations of all
IParserErrorHandler methods. |
class |
LenientErrorHandler
The default error handler, which logs issues but does not abort parsing, with only one exception:
|
class |
StrictErrorHandler
Parser error handler which throws a
DataFormatException any time an
issue is found while parsing. |
| Modifier and Type | Method and Description |
|---|---|
protected IParserErrorHandler |
BaseParser.getErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
IParser |
BaseParser.setParserErrorHandler(IParserErrorHandler theErrorHandler) |
IParser |
IParser.setParserErrorHandler(IParserErrorHandler theErrorHandler)
Registers an error handler which will be invoked when any parse errors are found
|
| Constructor and Description |
|---|
BaseParser(FhirContext theContext,
IParserErrorHandler theParserErrorHandler)
Constructor
|
JsonParser(FhirContext theContext,
IParserErrorHandler theParserErrorHandler)
Do not use this constructor, the recommended way to obtain a new instance of the JSON parser is to invoke
FhirContext.newJsonParser(). |
XmlParser(FhirContext theContext,
IParserErrorHandler theParserErrorHandler)
Do not use this constructor, the recommended way to obtain a new instance of the XML parser is to invoke
FhirContext.newXmlParser(). |
Copyright © 2014–2017 University Health Network. All rights reserved.