public final class ReplaceNode extends NodeCopy
data, input, pre, type| Constructor and Description |
|---|
ReplaceNode(int p,
Data d,
InputInfo i,
NodeCache c)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
adjacentTexts(int c)
Checks whether adjacent text nodes have been introduced as a result
of this update primitive.
|
void |
apply()
Applies this update primitive to the corresponding database.
|
void |
merge(UpdatePrimitive p)
Merges two update primitives, as they have the same target node.
|
void |
update(NamePool pool)
Updates the name pool, which is used to find duplicate attributes
and namespace conflicts.
|
preShiftscompareTo, targetNodepublic void apply()
UpdatePrimitiveapply in class UpdatePrimitivepublic void update(NamePool pool)
UpdatePrimitiveupdate in class UpdatePrimitivepool - name poolpublic boolean adjacentTexts(int c)
StructuralUpdateadjacentTexts in class StructuralUpdatec - pre value shifts introduced by updates on the preceding sibling
axis of this target nodepublic void merge(UpdatePrimitive p) throws QueryException
UpdatePrimitivemerge in class UpdatePrimitivep - primitive to merge withQueryException - exception