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