|
|||||||
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.CheckStm
public class CheckStm
Check operation for
XML.getNumber(String)
,
XML.getString(String)
,
XML.has(String)
,
XML.toDocument()
,
Node.isElement()
,
and variants.
Nested Class Summary | |
---|---|
static class |
CheckStm.Kind
Node kinds. |
Constructor Summary | |
---|---|
CheckStm(CheckStm.Kind kind,
Variable base,
String xpath,
Origin origin)
Constructs a new CheckStm object. |
Method Summary | |
---|---|
Variable |
getBase()
Returns the base variable, or null if none is available. |
CheckStm.Kind |
getKind()
Returns the kind. |
String |
getOpName()
Returns the name of the operation. |
String |
getXPath()
Returns the XPath expression, or null if none is available. |
void |
setBase(Variable base)
Sets the base 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.Entity |
---|
getOrigin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CheckStm(CheckStm.Kind kind, Variable base, String xpath, Origin origin)
CheckStm
object.
xpath
and base
can be null.
Method Detail |
---|
public Variable getBase()
public CheckStm.Kind getKind()
public String getOpName()
Statement
getOpName
in class Statement
public String getXPath()
public void setBase(Variable base)
public String toString()
Statement
toString
in class Statement
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 |