Package org.hl7.fhir.utilities.xml
Class XmlEscaper
- java.lang.Object
-
- org.hl7.fhir.utilities.xml.XmlEscaper
-
public class XmlEscaper extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXmlEscaper(InputStream source, OutputStream target)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidconvert(InputStream source, OutputStream target)static voidconvert(String source, String target)static voidconvertAndClose(InputStream source, OutputStream target)InputStreamgetSource()OutputStreamgetTarget()voidprocess()voidsetSource(InputStream source)voidsetTarget(OutputStream target)
-
-
-
Constructor Detail
-
XmlEscaper
protected XmlEscaper(InputStream source, OutputStream target)
-
-
Method Detail
-
convert
public static void convert(InputStream source, OutputStream target) throws IOException
- Throws:
IOException
-
convert
public static void convert(String source, String target) throws IOException
- Throws:
IOException
-
convertAndClose
public static void convertAndClose(InputStream source, OutputStream target) throws IOException
- Throws:
IOException
-
getSource
public InputStream getSource()
-
setSource
public void setSource(InputStream source)
-
getTarget
public OutputStream getTarget()
-
setTarget
public void setTarget(OutputStream target)
-
process
public void process() throws IOException
- Throws:
IOException
-
-