public class MergeElement extends AbstractMergeSet
inBoth, inLeftOnly, inRightOnly
Constructor and Description |
---|
MergeElement(Element leftParent,
Element left,
Element right)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Element e)
As a result of the merge, add an element to the output.
|
void |
remove(Element e)
As a result of the merge, remove an element from the output.
|
merge
public MergeElement(Element leftParent, Element left, Element right)
leftParent
- in the left hand elements parentleft
- in the left hand elementright
- in the right hand elementpublic void add(Element e)
add
in class AbstractMergeSet
e
- the element to be addedAbstractMergeSet.add(org.w3c.dom.Element)
public void remove(Element e)
remove
in class AbstractMergeSet
e
- the element to be removedAbstractMergeSet.remove(org.w3c.dom.Element)
Copyright © 2004-2013 Codehaus. All Rights Reserved.