Class FHIRXMLParser

  • All Implemented Interfaces:
    FHIRParser

    @NotThreadSafe
    @Generated("org.linuxforhealth.fhir.tools.CodeGenerator")
    public class FHIRXMLParser
    extends FHIRAbstractParser
    • Field Detail

      • DEBUG

        public static boolean DEBUG
    • Constructor Detail

      • FHIRXMLParser

        FHIRXMLParser()
    • Method Detail

      • parse

        public <T extends Resource> T parse​(java.io.InputStream in)
                                     throws FHIRParserException
        Description copied from interface: FHIRParser
        Read a resource from the passed InputStream. This method does not close the passed InputStream.
        Specified by:
        parse in interface FHIRParser
        Specified by:
        parse in class FHIRAbstractParser
        Type Parameters:
        T - The resource type to read
        Returns:
        Throws:
        FHIRParserException - if the resource could not be parsed for any reason