|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.update.PendingUpdateAction com.saxonica.update.RenameAction
public class RenameAction
A pending update action representing the effect of a rename expression
Field Summary | |
---|---|
static int |
PHASE
|
Constructor Summary | |
---|---|
RenameAction(NodeInfo node,
int nameCode)
Create a RenameAction |
Method Summary | |
---|---|
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. |
int |
getNewNameCode()
Get the new name as an integer namecode |
NodeInfo |
getTargetNode()
Get the target node of the update action |
Methods inherited from class com.saxonica.update.PendingUpdateAction |
---|
getOriginator, setOriginator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PHASE
Constructor Detail |
---|
public RenameAction(NodeInfo node, int nameCode)
node
- the node to be renamednameCode
- the namecode of the new nameMethod Detail |
---|
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 int getNewNameCode()
public int getApplyPhase()
getApplyPhase
in class PendingUpdateAction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |