public final class ReplaceElementContent extends StructuralUpdate
data, input, pre, type| Constructor and Description |
|---|
ReplaceElementContent(int p,
Data d,
InputInfo i,
byte[] val)
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.
|
int |
size()
Returns the total number of node operations.
|
java.lang.String |
toString() |
preShiftscompareTo, targetNode, updatepublic void apply()
UpdatePrimitiveapply in class UpdatePrimitivepublic void merge(UpdatePrimitive p) throws QueryException
UpdatePrimitivemerge in class UpdatePrimitivep - primitive to merge withQueryException - exceptionpublic boolean adjacentTexts(int c)
StructuralUpdateadjacentTexts in class StructuralUpdatec - pre value shifts introduced by updates on the preceding sibling
axis of this target nodepublic int size()
UpdatePrimitivesize in class UpdatePrimitivepublic java.lang.String toString()
toString in class java.lang.Object