public static class MacroCommand.Match extends MacroCommand.XPathItem
contextExpr, contextNode, contextXPath, prefixToNS
type
Constructor and Description |
---|
Match(String contextXPath,
String patternXPath,
boolean antiPattern,
PrefixToNamespace prefixToNS) |
Modifier and Type | Method and Description |
---|---|
MacroCommand.Match |
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 |
getPattern() |
boolean |
isAntiPattern() |
getContext, getPrefixToNamespace
doExecute, getType, makeCopies, prepare, updateMacroVars
public Match(String contextXPath, String patternXPath, boolean antiPattern, PrefixToNamespace prefixToNS) throws ParseException
ParseException
public MacroCommand.Match copy()
MacroCommand.Item
copy
in class MacroCommand.Item
null
if, for any reason,
copying this item failspublic String getPattern()
public boolean isAntiPattern()
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