
Package org.hl7.fhir.r5.formats
Class FormatUtilities
java.lang.Object
org.hl7.fhir.r5.formats.FormatUtilities
- Direct Known Subclasses:
ParserBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Manager.FhirFormat
determineFormat
(byte[] source) static Manager.FhirFormat
determineFormat
(byte[] source, int scanLength) static boolean
static Resource
static String
static ParserBase
makeParser
(String format) static ParserBase
makeParser
(Manager.FhirFormat format) protected String
toString
(boolean value) static String
toString
(byte[] value) protected String
toString
(int value) protected String
protected String
toString
(BigDecimal value) protected String
-
Field Details
-
ID_REGEX
- See Also:
-
FHIR_NS
- See Also:
-
XHTML_NS
- See Also:
-
NS_XSI
- See Also:
-
-
Constructor Details
-
FormatUtilities
public FormatUtilities()
-
-
Method Details
-
toString
-
toString
-
toString
-
toString
-
toString
-
toString
-
isValidId
-
makeId
-
makeParser
-
makeParser
-
determineFormat
public static Manager.FhirFormat determineFormat(byte[] source) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
determineFormat
public static Manager.FhirFormat determineFormat(byte[] source, int scanLength) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
loadFile
public static Resource loadFile(String path) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundException
IOException
org.hl7.fhir.exceptions.FHIRException
-