Uses of Interface
ca.uhn.fhir.parser.IParser
-
Uses of IParser in ca.uhn.fhir.context
Modifier and TypeMethodDescriptionFhirContext.newJsonParser()
Create and return a new JSON parser.FhirContext.newNDJsonParser()
Create and return a new NDJSON parser.FhirContext.newRDFParser()
Create and return a new RDF parser.FhirContext.newXmlParser()
Create and return a new XML parser. -
Uses of IParser in ca.uhn.fhir.parser
Modifier and TypeInterfaceDescriptioninterface
An extension to the parser interface that is implemented by parsers that understand a generalized form of JSON data.Modifier and TypeClassDescriptionclass
class
This class is the FHIR JSON parser/encoder.class
This class is the FHIR NDJSON parser/encoder.class
This class is the FHIR RDF parser/encoder.class
This class is the FHIR XML parser/encoder.Modifier and TypeMethodDescriptionBaseParser.setDontEncodeElements
(Collection<String> theDontEncodeElements) default IParser
IParser.setDontEncodeElements
(String... theDontEncodeElements) If provided, specifies the elements which should NOT be encoded.IParser.setDontEncodeElements
(Collection<String> theDontEncodeElements) If provided, specifies the elements which should NOT be encoded.BaseParser.setDontStripVersionsFromReferencesAtPaths
(String... thePaths) BaseParser.setDontStripVersionsFromReferencesAtPaths
(Collection<String> thePaths) IParser.setDontStripVersionsFromReferencesAtPaths
(String... thePaths) If supplied value(s), any resource references at the specified paths will have their resource versions encoded instead of being automatically stripped during the encoding process.IParser.setDontStripVersionsFromReferencesAtPaths
(Collection<String> thePaths) If supplied value(s), any resource references at the specified paths will have their resource versions encoded instead of being automatically stripped during the encoding process.BaseParser.setEncodeElements
(Set<String> theEncodeElements) default IParser
IParser.setEncodeElements
(String... theEncodeElements) If provided, specifies the elements which should be encoded, to the exclusion of all others.IParser.setEncodeElements
(Set<String> theEncodeElements) If provided, specifies the elements which should be encoded, to the exclusion of all others.IParser.setEncodeForceResourceId
(IIdType theForceResourceId) When encoding, force this resource ID to be encoded as the resource IDBaseParser.setOmitResourceId
(boolean theOmitResourceId) IParser.setOmitResourceId
(boolean theOmitResourceId) If set totrue
(default isfalse
) the ID of any resources being encoded will not be included in the output.BaseParser.setOverrideResourceIdWithBundleEntryFullUrl
(Boolean theOverrideResourceIdWithBundleEntryFullUrl) IParser.setOverrideResourceIdWithBundleEntryFullUrl
(Boolean theOverrideResourceIdWithBundleEntryFullUrl) If set totrue
(which is the default), the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id if the fullUrl is defined.BaseParser.setParserErrorHandler
(IParserErrorHandler theErrorHandler) IParser.setParserErrorHandler
(IParserErrorHandler theErrorHandler) Registers an error handler which will be invoked when any parse errors are foundIParser.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.JsonParser.setPrettyPrint
(boolean thePrettyPrint) NDJsonParser.setPrettyPrint
(boolean thePrettyPrint) RDFParser.setPrettyPrint
(boolean prettyPrint) XmlParser.setPrettyPrint
(boolean thePrettyPrint) BaseParser.setServerBaseUrl
(String theUrl) IParser.setServerBaseUrl
(String theUrl) Sets the server's base URL used by this parser.BaseParser.setStripVersionsFromReferences
(Boolean theStripVersionsFromReferences) IParser.setStripVersionsFromReferences
(Boolean theStripVersionsFromReferences) If set totrue
(which is the default), resource references containing a version will have the version removed when the resource is encoded.
BaseParser.setSummaryMode
(boolean theSummaryMode) IParser.setSummaryMode
(boolean theSummaryMode) If set totrue
(default isfalse
) only elements marked by the FHIR specification as being "summary elements" will be included.BaseParser.setSuppressNarratives
(boolean theSuppressNarratives) IParser.setSuppressNarratives
(boolean theSuppressNarratives) If set totrue
(default isfalse
), narratives will not be included in the encoded values. -
Uses of IParser in ca.uhn.fhir.rest.api
Modifier and TypeMethodDescriptionabstract IParser
EncodingEnum.newParser
(FhirContext theContext)