|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.flowgraph.Entity dk.brics.xact.analysis.flowgraph.Statement dk.brics.xact.analysis.flowgraph.statements.Assignment dk.brics.xact.analysis.flowgraph.statements.InstanceAssignment dk.brics.xact.analysis.flowgraph.statements.SetStm
public class SetStm
Assignment of XML.set(String, Object)
and variants.
Nested Class Summary | |
---|---|
static class |
SetStm.Kind
Node kinds. |
Constructor Summary | |
---|---|
SetStm(SetStm.Kind kind,
Variable dest,
Variable base,
String xpath,
dk.brics.automaton.Automaton stringsrc,
Variable xmlsrc,
Origin origin)
Constructs a new SetStm object. |
Method Summary | |
---|---|
SetStm.Kind |
getKind()
Returns the kind. |
String |
getOpName()
Returns the name of the operation. |
dk.brics.automaton.Automaton |
getStringSource()
Returns the string source automaton. |
Variable |
getXMLSource()
Returns the XML source variable. |
String |
getXPath()
Returns the XPath expression. |
void |
setStringSource(dk.brics.automaton.Automaton stringsrc)
|
void |
setXMLSource(Variable source)
Sets the XML source variable. |
String |
toString()
Returns a textual description of the statement. |
void |
visitBy(StatementVisitor v)
Visits this statement by the given visitor. |
Methods inherited from class dk.brics.xact.analysis.flowgraph.statements.InstanceAssignment |
---|
getBase, setBase |
Methods inherited from class dk.brics.xact.analysis.flowgraph.statements.Assignment |
---|
getDest, setDest |
Methods inherited from class dk.brics.xact.analysis.flowgraph.Entity |
---|
getOrigin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetStm(SetStm.Kind kind, Variable dest, Variable base, String xpath, dk.brics.automaton.Automaton stringsrc, Variable xmlsrc, Origin origin)
SetStm
object.
xpath
can be null.
Method Detail |
---|
public SetStm.Kind getKind()
public String getOpName()
Statement
getOpName
in class Statement
public dk.brics.automaton.Automaton getStringSource()
public Variable getXMLSource()
public String getXPath()
public void setStringSource(dk.brics.automaton.Automaton stringsrc)
public void setXMLSource(Variable source)
public String toString()
Statement
toString
in class Assignment
public void visitBy(StatementVisitor v)
Statement
visitBy
in class Statement
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |