public class MergeNodeList extends AbstractMergeSet
inBoth, inLeftOnly, inRightOnly
Modifier | Constructor and Description |
---|---|
protected |
MergeNodeList(AbstractNodeList leftSet,
AbstractNodeList rightSet)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Element e)
As a result of the merge, add an element to the output.
|
static AbstractMergeSet |
createFromNames(AbstractNodeList leftSet,
AbstractNodeList rightSet)
Static constructor.
|
void |
remove(Element e)
As a result of the merge, remove an element from the output.
|
merge
protected MergeNodeList(AbstractNodeList leftSet, AbstractNodeList rightSet)
leftSet
- in the left hand setrightSet
- in the right hand setpublic static final AbstractMergeSet createFromNames(AbstractNodeList leftSet, AbstractNodeList rightSet)
leftSet
- in the left hand setrightSet
- in the right hand setpublic 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.