Class XMLTransferReportWriter
- java.lang.Object
-
- org.alfresco.repo.transfer.report.XMLTransferReportWriter
-
public class XMLTransferReportWriter extends Object
Writes the Client Side Transfer Report out as XML.- Author:
- Mark Rogers
-
-
Constructor Summary
Constructors Constructor Description XMLTransferReportWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendTransferReport()End the transfer reportvoidstartTransferReport(String encoding, Writer writer)Start the transfer reportvoidwriteDefinition(TransferDefinition definition)Write the definition to the reportvoidwriteException(Exception e)Write the definition to the reportvoidwriteNodeSummary(TransferManifestNode node)Write the transfer manifest headervoidwriteTarget(TransferTarget target)Write the target to the reportvoidwriteTransferEvent(TransferEvent event)Write the transfer eventvoidwriteTransferEvents(List<TransferEvent> events)Write the transfer manifest header
-
-
-
Method Detail
-
startTransferReport
public void startTransferReport(String encoding, Writer writer) throws SAXException
Start the transfer report- Throws:
SAXException
-
endTransferReport
public void endTransferReport() throws SAXExceptionEnd the transfer report- Throws:
SAXException
-
writeTarget
public void writeTarget(TransferTarget target) throws SAXException
Write the target to the report- Throws:
SAXException
-
writeDefinition
public void writeDefinition(TransferDefinition definition) throws SAXException
Write the definition to the report- Throws:
SAXException
-
writeException
public void writeException(Exception e) throws SAXException
Write the definition to the report- Throws:
SAXException
-
writeTransferEvents
public void writeTransferEvents(List<TransferEvent> events) throws SAXException
Write the transfer manifest header- Throws:
SAXException
-
writeNodeSummary
public void writeNodeSummary(TransferManifestNode node) throws SAXException
Write the transfer manifest header- Throws:
SAXException
-
writeTransferEvent
public void writeTransferEvent(TransferEvent event) throws SAXException
Write the transfer event- Throws:
SAXException
-
-