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:
- One or more children have been removed
- One or more children have been added
- One or more children have been changed
An element edit can be a combination of these three aspects.
XMLDocument.ElementEdit
public XMLDocument.ElementEdit(Element e)
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.