net.sourceforge.spedit.core
Class XMLDocument.ElementEdit

net.sourceforge.spedit.core.XMLDocument.ElementEdit
Enclosing class:
XMLDocument

public static class XMLDocument.ElementEdit

This class stores a single change made on an element of the document. There are three possibilities for the change:

An element edit can be a combination of these three aspects.


Constructor Summary
XMLDocument.ElementEdit(Element e)
           
 
Method Summary
 void addAddedElement(Element elem)
           
 void addRemovedElement(Element elem)
           
 Element[] getChildrenAdded()
           
 Element[] getChildrenRemoved()
           
 Element getElement()
           
 int getIndex()
          Always returns 0.
 

Constructor Detail

XMLDocument.ElementEdit

public XMLDocument.ElementEdit(Element e)
Method Detail

addAddedElement

public void addAddedElement(Element elem)

addRemovedElement

public void addRemovedElement(Element elem)

getChildrenAdded

public Element[] getChildrenAdded()

getChildrenRemoved

public Element[] getChildrenRemoved()

getElement

public Element getElement()

getIndex

public int getIndex()
Always returns 0.