public class DeleteAction extends PendingUpdateAction
Modifier and Type | Field and Description |
---|---|
static int |
PHASE |
Constructor and Description |
---|
DeleteAction(NodeInfo node)
Create a DeleteAction
|
Modifier and Type | Method and Description |
---|---|
void |
apply(XPathContext context,
Set affectedRootSet)
Apply the pending update action to the affected node
|
int |
getApplyPhase()
Get the phase of operation in which this pending update action is applied.
|
NodeInfo |
getTargetNode()
Get the target node of the update action
|
getOriginator, setOriginator
public static final int PHASE
public DeleteAction(NodeInfo node)
node
- the node to be deletedpublic void apply(XPathContext context, Set affectedRootSet) throws XPathException
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 necessaryXPathException
- if any error occurs applying the updatepublic NodeInfo getTargetNode()
getTargetNode
in class PendingUpdateAction
public int getApplyPhase()
getApplyPhase
in class PendingUpdateAction
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.