public static class MacroCommand.Test extends MacroCommand.XPathItem
contextExpr, contextNode, contextXPath, prefixToNS
type
Constructor and Description |
---|
Test(String contextXPath,
String expressionXPath,
PrefixToNamespace prefixToNS) |
Modifier and Type | Method and Description |
---|---|
MacroCommand.Test |
copy()
Makes a deep copy of this item.
|
protected boolean |
doPrepare(com.xmlmind.xmleditapp.cmd.macro.ExecContext execContext) |
void |
execute(com.xmlmind.xmleditapp.cmd.macro.ExecContext execContext) |
String |
getExpression() |
getContext, getPrefixToNamespace
doExecute, getType, makeCopies, prepare, updateMacroVars
public Test(String contextXPath, String expressionXPath, PrefixToNamespace prefixToNS) throws ParseException
ParseException
public MacroCommand.Test copy()
MacroCommand.Item
copy
in class MacroCommand.Item
null
if, for any reason,
copying this item failspublic String getExpression()
protected boolean doPrepare(com.xmlmind.xmleditapp.cmd.macro.ExecContext execContext)
doPrepare
in class MacroCommand.XPathItem
public void execute(com.xmlmind.xmleditapp.cmd.macro.ExecContext execContext)
execute
in class MacroCommand.Item