|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.update.RenameAction
public class RenameAction
A pending update action representing the effect of a rename expression
Constructor Summary | |
---|---|
RenameAction(NodeInfo node,
int nameCode)
Create a RenameAction |
Method Summary | |
---|---|
void |
apply(XPathContext context,
java.util.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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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, java.util.Set affectedRootSet)
apply
in interface 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 interface PendingUpdateAction
public int getNewNameCode()
public int getApplyPhase()
getApplyPhase
in interface PendingUpdateAction
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |