org.netbeans.modules.xml.xam.dom
Class SyncUnit

java.lang.Object
  extended by org.netbeans.modules.xml.xam.dom.SyncUnit

public class SyncUnit
extends java.lang.Object


Constructor Summary
SyncUnit(DocumentComponent syncTarget)
           
 
Method Summary
 void addChange(ChangeInfo change)
           
 void addNonDomainedElementChange(ChangeInfo change)
           
 void addToAddedAttributes(org.w3c.dom.Attr attr)
           
 void addToAddList(DocumentComponent c)
           
 void addToRemovedAttributes(org.w3c.dom.Attr attr)
           
 void addToRemoveList(DocumentComponent c)
           
 java.util.Map<java.lang.String,org.w3c.dom.Attr> getAddedAttributes()
           
 java.util.List<ChangeInfo> getChanges()
           
 ChangeInfo getLastChange()
           
 java.util.Set<java.lang.String> getNonDomainedElementChanges()
           
 java.util.List<org.w3c.dom.Element> getParentToRootPath()
           
 java.util.Map<java.lang.String,org.w3c.dom.Attr> getRemovedAttributes()
           
 DocumentComponent getTarget()
           
 java.util.List<DocumentComponent> getToAddList()
           
 java.util.List<DocumentComponent> getToRemoveList()
           
 boolean hasTextContentChanges()
           
 boolean hasWhitespaceChangeOnly()
           
 boolean isComponentChanged()
           
 void merge(SyncUnit su)
           
 void setComponentChanged(boolean v)
           
 void setHasTextContentChanges(boolean val)
           
 void updateTargetReference()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncUnit

public SyncUnit(DocumentComponent syncTarget)
Method Detail

addChange

public void addChange(ChangeInfo change)

getChanges

public java.util.List<ChangeInfo> getChanges()

getTarget

public DocumentComponent getTarget()

getToRemoveList

public java.util.List<DocumentComponent> getToRemoveList()

addToRemoveList

public void addToRemoveList(DocumentComponent c)

getToAddList

public java.util.List<DocumentComponent> getToAddList()

addToAddList

public void addToAddList(DocumentComponent c)

setComponentChanged

public void setComponentChanged(boolean v)

isComponentChanged

public boolean isComponentChanged()

addToAddedAttributes

public void addToAddedAttributes(org.w3c.dom.Attr attr)

getAddedAttributes

public java.util.Map<java.lang.String,org.w3c.dom.Attr> getAddedAttributes()

getRemovedAttributes

public java.util.Map<java.lang.String,org.w3c.dom.Attr> getRemovedAttributes()

addToRemovedAttributes

public void addToRemovedAttributes(org.w3c.dom.Attr attr)

merge

public void merge(SyncUnit su)

updateTargetReference

public void updateTargetReference()

getLastChange

public ChangeInfo getLastChange()

getParentToRootPath

public java.util.List<org.w3c.dom.Element> getParentToRootPath()

hasTextContentChanges

public boolean hasTextContentChanges()

setHasTextContentChanges

public void setHasTextContentChanges(boolean val)

getNonDomainedElementChanges

public java.util.Set<java.lang.String> getNonDomainedElementChanges()

addNonDomainedElementChange

public void addNonDomainedElementChange(ChangeInfo change)

hasWhitespaceChangeOnly

public boolean hasWhitespaceChangeOnly()