Package org.hl7.fhir.utilities.xml
Class XmlGenerator
- java.lang.Object
-
- org.hl7.fhir.utilities.xml.XmlGenerator
-
public class XmlGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringgenerate(Element element)voidgenerate(Element element, File file)voidgenerate(Element element, File file, String defaultNamespace, String elementName)voidgenerate(Element element, OutputStream stream)
-
-
-
Constructor Detail
-
XmlGenerator
public XmlGenerator()
-
-
Method Detail
-
generate
public void generate(Element element, File file, String defaultNamespace, String elementName) throws FHIRException, IOException
- Throws:
FHIRExceptionIOException
-
generate
public String generate(Element element) throws IOException, FHIRException
- Throws:
IOExceptionFHIRException
-
generate
public void generate(Element element, File file) throws IOException, FHIRException
- Throws:
IOExceptionFHIRException
-
generate
public void generate(Element element, OutputStream stream) throws IOException, FHIRException
- Throws:
IOExceptionFHIRException
-
-