net.sourceforge.xwing.dom
Class ChangeInfo

java.lang.Object
  extended bynet.sourceforge.xwing.dom.ChangeInfo

public class ChangeInfo
extends Object


Field Summary
static int ADDS
           
static int COMPLEX
           
static int DELETES
           
static int SAME
           
 
Constructor Summary
ChangeInfo(XTreeNode pChangeRoot, XTreeNode pNewChangeRoot, int pStatus)
           
ChangeInfo(XTreeNode pChangeRoot, XTreeNode pNewChangeRoot, int pStatus, int[] pChildIndices, Object[] pChildren)
           
 
Method Summary
 void addContentChange(XTreeNode parent, int[] indices, Object[] changeNodes)
           
 XTreeNode getChangeRoot()
           
 int[] getChildIndices()
           
 Object[] getChildren()
           
 Vector getContentChanges()
           
 XTreeNode getNewChangeRoot()
           
 int getStatus()
           
 void merge(ChangeInfo other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAME

public static final int SAME
See Also:
Constant Field Values

ADDS

public static final int ADDS
See Also:
Constant Field Values

DELETES

public static final int DELETES
See Also:
Constant Field Values

COMPLEX

public static final int COMPLEX
See Also:
Constant Field Values
Constructor Detail

ChangeInfo

public ChangeInfo(XTreeNode pChangeRoot,
                  XTreeNode pNewChangeRoot,
                  int pStatus)

ChangeInfo

public ChangeInfo(XTreeNode pChangeRoot,
                  XTreeNode pNewChangeRoot,
                  int pStatus,
                  int[] pChildIndices,
                  Object[] pChildren)
Method Detail

getChangeRoot

public XTreeNode getChangeRoot()

getNewChangeRoot

public XTreeNode getNewChangeRoot()

getChildIndices

public int[] getChildIndices()

getStatus

public int getStatus()

getChildren

public Object[] getChildren()

getContentChanges

public Vector getContentChanges()

merge

public void merge(ChangeInfo other)

addContentChange

public void addContentChange(XTreeNode parent,
                             int[] indices,
                             Object[] changeNodes)


Copyright © 2003 The Xwing Project. All Rights Reserved.