public final class InsertAttribute extends NodeUpdate
pre
data
Constructor and Description |
---|
InsertAttribute(int pre,
Data data,
InputInfo ii,
ANodeList nodes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAtomics(AtomicUpdateCache auc)
Adds the atomic update operations for this update primitive to the given list.
|
void |
merge(Update update)
Merges two update operations pointing to the same target.
|
void |
prepare(MemData memData,
QueryContext qc)
Prepares this update primitive before execution.
|
int |
size()
Returns the number of update operations.
|
String |
toString() |
void |
update(NamePool pool)
Updates the name pool, which is used to find duplicate attributes
and namespace conflicts.
|
node, substitute
data
public void update(NamePool pool)
NodeUpdate
update
in class NodeUpdate
pool
- name poolpublic void merge(Update update)
Update
public void addAtomics(AtomicUpdateCache auc)
NodeUpdate
addAtomics
in class NodeUpdate
auc
- list of atomic updatespublic final void prepare(MemData memData, QueryContext qc)
NodeUpdate
prepare
in class NodeUpdate
memData
- temporary data instanceqc
- query contextpublic int size()
Update
Copyright © 2005–2023 BaseX Team. All rights reserved.