Package com.saxonica.ee.update
Class DeleteAction
java.lang.Object
com.saxonica.ee.update.PendingUpdateAction
com.saxonica.ee.update.DeleteAction
A pending update action representing the effect of a delete expression
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(XPathContext context, Set<MutableNodeInfo> affectedRootSet) Apply the pending update action to the affected nodeintGet the phase of operation in which this pending update action is applied.Get the target node of the update actionMethods inherited from class com.saxonica.ee.update.PendingUpdateActionfixNodeName, getOriginator, setOriginator
- 
Field Details- 
PHASEpublic static final int PHASE- See Also:
 
 
- 
- 
Constructor Details- 
DeleteActionCreate a DeleteAction- Parameters:
- node- the node to be deleted
 
 
- 
- 
Method Details- 
applyApply the pending update action to the affected node- Specified by:
- applyin class- PendingUpdateAction
- Parameters:
- context- the XPath evaluation context
- affectedRootSet- the set of roots of trees that have been modified, which this action should add to as necessary
- Throws:
- XPathException- if any error occurs applying the update
 
- 
getTargetNodeGet the target node of the update action- Specified by:
- getTargetNodein class- PendingUpdateAction
- Returns:
- the target node, the node to which this update action applies.
 
- 
getApplyPhasepublic int getApplyPhase()Get the phase of operation in which this pending update action is applied. See 3.2.2 upd:applyUpdates, Semantics, rule 2.- Specified by:
- getApplyPhasein class- PendingUpdateAction
- Returns:
- the phase of operation, an integer in the range 1 to 5 representing the stages labelled a-e in the specification
 
 
-