public class RenameAction extends PendingUpdateAction
Modifier and Type | Field and Description |
---|---|
static int |
PHASE |
Constructor and Description |
---|
RenameAction(NodeInfo node,
NodeName nameCode)
Create a RenameAction
|
Modifier and Type | Method and Description |
---|---|
void |
apply(XPathContext context,
Set affectedRootSet)
Apply the pending update action to the affected nodes
|
int |
getApplyPhase()
Get the phase of operation in which this pending update action is applied.
|
NodeName |
getNewName()
Get the new name as an integer namecode
|
NodeInfo |
getTargetNode()
Get the target node of the update action
|
getOriginator, setOriginator
public static final int PHASE
public void apply(XPathContext context, Set affectedRootSet)
apply
in class PendingUpdateAction
context
- the XPath evaluation contextaffectedRootSet
- the set of roots of trees that have been modified, which
this action should add to as necessarypublic NodeInfo getTargetNode()
getTargetNode
in class PendingUpdateAction
public NodeName getNewName()
public int getApplyPhase()
getApplyPhase
in class PendingUpdateAction
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.