org.netbeans.modules.xml.xdm/1 1.19.0 1

org.netbeans.modules.xml.xdm.diff
Class SyncPreparation

java.lang.Object
  extended by org.netbeans.modules.xml.xdm.diff.SyncPreparation

public class SyncPreparation
extends Object

Support for two-phased sync protocol.


Constructor Summary
SyncPreparation(Document newDoc)
          Creates a new instance of SyncPreparation
SyncPreparation(Document oldDoc, List<Difference> diffs)
           
SyncPreparation(Exception err)
           
 
Method Summary
 List<Difference> getDifferences()
           
 IOException getError()
           
 Document getNewDocument()
           
 Document getOldDocument()
           
 boolean hasErrors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncPreparation

public SyncPreparation(Document newDoc)
Creates a new instance of SyncPreparation


SyncPreparation

public SyncPreparation(Document oldDoc,
                       List<Difference> diffs)

SyncPreparation

public SyncPreparation(Exception err)
Method Detail

getNewDocument

public Document getNewDocument()

getOldDocument

public Document getOldDocument()

getDifferences

public List<Difference> getDifferences()

hasErrors

public boolean hasErrors()

getError

public IOException getError()

org.netbeans.modules.xml.xdm/1 1.19.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.