public class ReplaceAttributeAction extends PendingUpdateAction
Modifier and Type | Method and Description |
---|---|
void |
apply(XPathContext context,
java.util.Set<MutableNodeInfo> 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.
|
AttributeMap |
getNewAttributes()
Get the attribute collection containing the new (replacement) attributes
|
NodeInfo |
getOldAttribute()
Get the replaced attribute node
|
NodeInfo |
getTargetNode()
Get the target node of the update action
|
fixNodeName, getOriginator, setOriginator
public void apply(XPathContext context, java.util.Set<MutableNodeInfo> 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 NodeInfo getOldAttribute()
public AttributeMap getNewAttributes()
public int getApplyPhase()
getApplyPhase
in class PendingUpdateAction
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.