public class ProbeXmlWriter
extends java.lang.Object
| Constructor and Description |
|---|
ProbeXmlWriter() |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Document |
documentForProbe(Probe<?> probe)
Returns a DOM document for the supplied probe.
|
XmlDataAdaptor |
writeProbeToDoc(Probe<?> aProbe)
Writes supplied
Probe to the specified XML file. |
static void |
writeXml(Probe<?> aProbe,
java.lang.String fileURI)
Writes supplied
Probe to the specified XML file. |
public static void writeXml(Probe<?> aProbe, java.lang.String fileURI) throws java.io.IOException
Probe to the specified XML file.aProbe - Probe to outputfileURI - String URI of output filejava.io.IOException - error writing to fileURIpublic static org.w3c.dom.Document documentForProbe(Probe<?> probe) throws java.io.IOException
probe - probe whose state will be recorded to a documentjava.io.IOExceptionpublic XmlDataAdaptor writeProbeToDoc(Probe<?> aProbe) throws java.io.IOException
Probe to the specified XML file.aProbe - Probe to write to XML filejava.io.IOException - error writing to fileURI