|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ter.API.Inspector
Title: Class Inspector
Description: The inspector grab the classifier to study an create an AdvancedAnalyser with it, after, it control the positionment on the hierachy an use tree of the classifier.
Constructor Summary | |
Inspector(java.lang.Class theclass)
test program |
|
Inspector(java.lang.String thename)
Deprecated. use Inspector(Class theclass) only for testing purpose |
Method Summary | |
void |
addClassifierAnalyser(ClassifierAnalyser ca)
adds this classifier to the list of the classifiers |
java.util.ArrayList |
getAdvancedAnalysers()
Deprecated. use ter.API.Inspector#removeClassifierAnalyser(ClassifierAnalyser) |
ClassifierAnalyser |
getClassifierAnalyser(java.lang.Class theClass)
returns a ClassidierAnalyser from a dependance of this inspector |
ClassifierAnalyser |
getClassifierAnalyser(java.lang.String className)
returns a ClassidierAnalyser from a dependance of this inspector |
java.util.Iterator |
getClassifierAnalyserIterator()
get an iterator over the list of classifiers analysers |
java.util.Hashtable |
getClassifierAnalysers()
|
java.lang.String |
getClassifierName()
get the name of the main inspected class |
java.lang.Class |
getClassInspected()
get the main inspected class |
ClassifierAnalyser |
getMainClassifier()
returns the Classifier of the class of this inspector |
java.lang.ClassLoader |
getMainClassLoader()
|
void |
removeClassifierAnalyser(ClassifierAnalyser ca)
removes this classifier from the list of the classifiers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Inspector(java.lang.Class theclass)
theclass
- the clasifier to studypublic Inspector(java.lang.String thename)
thename
- the name of the inspectorInspector(Class theclass)
Method Detail |
public java.lang.ClassLoader getMainClassLoader()
public void addClassifierAnalyser(ClassifierAnalyser ca)
ca
- the classifier to addpublic void removeClassifierAnalyser(ClassifierAnalyser ca)
ca
- the clasifer to removepublic java.util.ArrayList getAdvancedAnalysers()
getClassifierAnalyser(String className)
,
addClassifierAnalyser(ClassifierAnalyser ca)
,
removeClassifierAnalyser(ClassifierAnalyser)
public ClassifierAnalyser getClassifierAnalyser(java.lang.String className)
className
- the full name of the class
public ClassifierAnalyser getClassifierAnalyser(java.lang.Class theClass)
theClass
- the class class
public ClassifierAnalyser getMainClassifier()
public java.util.Iterator getClassifierAnalyserIterator()
public java.lang.String getClassifierName()
public java.lang.Class getClassInspected()
public java.util.Hashtable getClassifierAnalysers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |