| Package | Description |
|---|---|
| ca.uhn.fhir.context | |
| ca.uhn.fhir.parser | |
| ca.uhn.fhir.rest.method | |
| ca.uhn.fhir.rest.server |
| Modifier and Type | Method and Description |
|---|---|
IParser |
FhirContext.newJsonParser()
Create and return a new JSON parser.
|
IParser |
FhirContext.newXmlParser()
Create and return a new XML parser.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseParser |
class |
JsonParser
This class is the FHIR JSON parser/encoder.
|
class |
XmlParser
This class is the FHIR XML parser/encoder.
|
| Modifier and Type | Method and Description |
|---|---|
IParser |
IParser.setOmitResourceId(boolean theOmitResourceId)
If set to
true (default is false) the ID of any resources being encoded will not be
included in the output. |
IParser |
BaseParser.setOmitResourceId(boolean theOmitResourceId) |
IParser |
IParser.setParserErrorHandler(IParserErrorHandler theErrorHandler)
Registers an error handler which will be invoked when any parse errors are found
|
IParser |
BaseParser.setParserErrorHandler(IParserErrorHandler theErrorHandler) |
IParser |
XmlParser.setPrettyPrint(boolean thePrettyPrint) |
IParser |
JsonParser.setPrettyPrint(boolean thePrettyPrint) |
IParser |
IParser.setPrettyPrint(boolean thePrettyPrint)
Sets the "pretty print" flag, meaning that the parser will encode resources with human-readable spacing and
newlines between elements instead of condensing output as much as possible.
|
IParser |
IParser.setServerBaseUrl(String theUrl)
Sets the server's base URL used by this parser.
|
IParser |
BaseParser.setServerBaseUrl(String theUrl) |
IParser |
IParser.setStripVersionsFromReferences(boolean theStripVersionsFromReferences)
If set to
true |
IParser |
BaseParser.setStripVersionsFromReferences(boolean theStripVersionsFromReferences) |
IParser |
IParser.setSummaryMode(boolean theSummaryMode)
If set to
true (default is false) only elements marked by the FHIR specification as
being "summary elements" will be included. |
IParser |
BaseParser.setSummaryMode(boolean theSummaryMode) |
IParser |
IParser.setSuppressNarratives(boolean theSuppressNarratives)
If set to
true (default is false), narratives will not be included in the encoded
values. |
IParser |
BaseParser.setSuppressNarratives(boolean theSuppressNarratives) |
| Modifier and Type | Method and Description |
|---|---|
protected IParser |
BaseMethodBinding.createAppropriateParserForParsingResponse(String theResponseMimeType,
Reader theResponseReader,
int theResponseStatusCode) |
protected IParser |
BaseMethodBinding.createAppropriateParserForParsingServerRequest(RequestDetails theRequest) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ParseAction.execute(IParser parser,
Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
static IParser |
RestfulServerUtils.getNewParser(FhirContext theContext,
RequestDetails theRequestDetails) |
abstract IParser |
EncodingEnum.newParser(FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RestfulServerUtils.configureResponseParser(RequestDetails theRequestDetails,
IParser parser) |
Copyright © 2014–2016 University Health Network. All rights reserved.