com.izforge.izpack.adaptator
Interface IXMLWriter

All Known Implementing Classes:
XMLWriter

public interface IXMLWriter

Interface to use the javax xml writer. It stores the output.

Author:
Anthonin Bonnefoy, David Duponchel

Method Summary
 void setOutput(java.io.OutputStream outputStream)
          Set the outputStream of the writer
 void setOutput(java.lang.String systemId)
          Set the output to a URL
 void write(IXMLElement element)
          Write the xml in the writer output
 

Method Detail

write

void write(IXMLElement element)
Write the xml in the writer output

Parameters:
element - Xml to write
Throws:
XMLException - if something went wrong.

setOutput

void setOutput(java.io.OutputStream outputStream)
Set the outputStream of the writer

Parameters:
outputStream - The outputStream

setOutput

void setOutput(java.lang.String systemId)
Set the output to a URL

Parameters:
systemId - Url of the output