Class RenameNode
java.lang.Object
org.basex.query.up.primitives.Update
org.basex.query.up.primitives.DataUpdate
org.basex.query.up.primitives.node.NodeUpdate
org.basex.query.up.primitives.node.RenameNode
Rename node primitive.
- Author:
- BaseX Team 2005-21, BSD License, Lukas Kircher
-
Field Summary
Fields inherited from class org.basex.query.up.primitives.node.NodeUpdate
preFields inherited from class org.basex.query.up.primitives.DataUpdate
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the atomic update operations for this update primitive to the given list.voidMerges two update operations pointing to the same target.voidprepare(MemData memData, QueryContext qc) Prepares this update primitive before execution.intsize()Returns the number of update operations.toString()voidUpdates the name pool, which is used to find duplicate attributes and namespace conflicts.Methods inherited from class org.basex.query.up.primitives.node.NodeUpdate
node, substituteMethods inherited from class org.basex.query.up.primitives.DataUpdate
data
-
Constructor Details
-
RenameNode
Constructor.- Parameters:
pre- target node pre valuedata- target data referenceii- input infoname- new QName / new name value
-
-
Method Details
-
prepare
Description copied from class:NodeUpdatePrepares this update primitive before execution. This includes e.g. the preparation of insertion sequences.- Specified by:
preparein classNodeUpdate- Parameters:
memData- temporary data instanceqc- query context
-
merge
Description copied from class:UpdateMerges two update operations pointing to the same target.- Specified by:
mergein classUpdate- Parameters:
update- operation to merge with- Throws:
QueryException- exception
-
update
Description copied from class:NodeUpdateUpdates the name pool, which is used to find duplicate attributes and namespace conflicts.- Specified by:
updatein classNodeUpdate- Parameters:
pool- name pool
-
toString
-
size
public int size()Description copied from class:UpdateReturns the number of update operations. -
addAtomics
Description copied from class:NodeUpdateAdds the atomic update operations for this update primitive to the given list.- Specified by:
addAtomicsin classNodeUpdate- Parameters:
auc- list of atomic updates
-