org.alfresco.repo.transfer.report
Class XMLTransferReportWriter

java.lang.Object
  extended by org.alfresco.repo.transfer.report.XMLTransferReportWriter

public class XMLTransferReportWriter
extends java.lang.Object

Writes the Client Side Transfer Report out as XML.


Constructor Summary
XMLTransferReportWriter()
           
 
Method Summary
 void endTransferReport()
          End the transfer report
 void startTransferReport(java.lang.String encoding, java.io.Writer writer)
          Start the transfer report
 void writeDefinition(TransferDefinition definition)
          Write the definition to the report
 void writeException(java.lang.Exception e)
          Write the definition to the report
 void writeNodeSummary(TransferManifestNode node)
          Write the transfer manifest header
 void writeTarget(TransferTarget target)
          Write the target to the report
 void writeTransferEvent(TransferEvent event)
          Write the transfer event
 void writeTransferEvents(java.util.List events)
          Write the transfer manifest header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTransferReportWriter

public XMLTransferReportWriter()
Method Detail

startTransferReport

public void startTransferReport(java.lang.String encoding,
                                java.io.Writer writer)
                         throws org.xml.sax.SAXException
Start the transfer report

Throws:
org.xml.sax.SAXException

endTransferReport

public void endTransferReport()
                       throws org.xml.sax.SAXException
End the transfer report

Throws:
org.xml.sax.SAXException

writeTarget

public void writeTarget(TransferTarget target)
                 throws org.xml.sax.SAXException
Write the target to the report

Throws:
org.xml.sax.SAXException

writeDefinition

public void writeDefinition(TransferDefinition definition)
                     throws org.xml.sax.SAXException
Write the definition to the report

Throws:
org.xml.sax.SAXException

writeException

public void writeException(java.lang.Exception e)
                    throws org.xml.sax.SAXException
Write the definition to the report

Throws:
org.xml.sax.SAXException

writeTransferEvents

public void writeTransferEvents(java.util.List events)
                         throws org.xml.sax.SAXException
Write the transfer manifest header

Throws:
org.xml.sax.SAXException

writeNodeSummary

public void writeNodeSummary(TransferManifestNode node)
                      throws org.xml.sax.SAXException
Write the transfer manifest header

Throws:
org.xml.sax.SAXException

writeTransferEvent

public void writeTransferEvent(TransferEvent event)
                        throws org.xml.sax.SAXException
Write the transfer event

Throws:
org.xml.sax.SAXException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.