Package xal.model.xml
Class ProbeXmlWriter
java.lang.Object
xal.model.xml.ProbeXmlWriter
Saves probe instances to an XML file.
- Version:
- $id:
- Author:
- Craig McChesney
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentdocumentForProbe(Probe<?> probe) Returns a DOM document for the supplied probe.writeProbeToDoc(Probe<?> aProbe) Writes suppliedProbeto the specified XML file.static voidWrites suppliedProbeto the specified XML file.
-
Constructor Details
-
ProbeXmlWriter
public ProbeXmlWriter()
-
-
Method Details
-
writeXml
Writes suppliedProbeto the specified XML file.- Parameters:
aProbe-Probeto outputfileURI- String URI of output file- Throws:
IOException- error writing to fileURI
-
documentForProbe
Returns a DOM document for the supplied probe.- Parameters:
probe- probe whose state will be recorded to a document- Returns:
- a DOM for the supplied lattice
- Throws:
IOException
-
writeProbeToDoc
Writes suppliedProbeto the specified XML file.- Parameters:
aProbe-Probeto write to XML file- Throws:
IOException- error writing to fileURI
-