|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.uadetector.writer.XmlDataWriter
@ThreadSafe public final class XmlDataWriter
This utility is intended to transform an instance of Data into an UAS data conform XML document and
allows us to recreate an uas.xml.
| Method Summary | |
|---|---|
static void |
write(Data data,
java.io.OutputStream outputStream)
Transforms a given Data instance into XML and writes it to the passed in OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void write(@Nonnull
Data data,
@Nonnull
java.io.OutputStream outputStream)
throws javax.xml.parsers.ParserConfigurationException,
javax.xml.transform.TransformerException
Data instance into XML and writes it to the passed in OutputStream.
data - Data to transform into XMLoutputStream - output stream to write
javax.xml.parsers.ParserConfigurationException - If a DocumentBuilder cannot be created which satisfies the configuration requested.
javax.xml.transform.TransformerException - If an unrecoverable error occurs during the course of the transformation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||