|
|||||||
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.InsertStm
public class InsertStm
Assignment of XML.insertAfter(String, Object)
,
XML.appendContent(String, Object)
,
XML.prependContent(String, Object)
,
and variants.
Nested Class Summary | |
---|---|
static class |
InsertStm.Kind
Node kinds. |
Constructor Summary | |
---|---|
InsertStm(InsertStm.Kind kind,
Variable dest,
Variable base,
String xpath,
dk.brics.automaton.Automaton stringsrc,
Variable xmlsrc,
Origin origin)
Constructs a new InsertStm object. |
Method Summary | |
---|---|
InsertStm.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 xmlsrc)
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 InsertStm(InsertStm.Kind kind, Variable dest, Variable base, String xpath, dk.brics.automaton.Automaton stringsrc, Variable xmlsrc, Origin origin)
InsertStm
object.
xpath
can be null.
Method Detail |
---|
public InsertStm.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 xmlsrc)
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 |