public final class InsertAfter extends NodeCopy
data, input, pre, type| Constructor and Description |
|---|
InsertAfter(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.
|
preShiftscompareTo, targetNode, updatepublic void apply()
UpdatePrimitivepublic 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)
UpdatePrimitivemerge in class UpdatePrimitivep - primitive to merge with