|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.xact.analysis.XMLAnalysis
public class XMLAnalysis
Program analysis for XACT.
Constructor Summary | |
---|---|
XMLAnalysis(String soot_classpath,
List<String> classes)
Initializes XACT program analysis for the given classes. |
Method Summary | |
---|---|
void |
analyze()
Runs the analysis. |
StringAnalysis |
analyzeStrings()
Runs string analysis with hotspots that are relevant for XACT operations. |
void |
analyzeXMLGraphs(FlowGraph g,
XMLGraphBuilder b)
Analyzes the XML graphs. |
FlowGraph |
buildFlowGraph(StringAnalysis strings)
Builds the flow graph and finds schema URLs. |
XMLGraphBuilder |
buildXMLGraphs(FlowGraph g)
Builds the XML graphs. |
(package private) static void |
endPhase()
Marks the end of a phase. |
void |
loadClasses()
Loads the class files. |
void |
releaseSoot()
Resets Soot. |
(package private) static void |
startPhase(String msg)
Marks the start of a phase. |
void |
transformFlowGraph(FlowGraph g)
Performs various transformations of the given flow graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLAnalysis(String soot_classpath, List<String> classes)
soot_classpath
- the class path for the classes to be analyzed
(if null, just use the normal class path)classes
- names of the classes to be analyzedMethod Detail |
---|
public void analyze()
XMLAnalysisException
s and XMLValidationException
s.
This method is not thread-safe (because of Soot).
public StringAnalysis analyzeStrings()
public void analyzeXMLGraphs(FlowGraph g, XMLGraphBuilder b)
public FlowGraph buildFlowGraph(StringAnalysis strings)
public XMLGraphBuilder buildXMLGraphs(FlowGraph g)
static void endPhase()
public void loadClasses()
public void releaseSoot()
static void startPhase(String msg)
public void transformFlowGraph(FlowGraph g)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |