|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.anadix.factories.ObjectFactory
@Deprecated public final class ObjectFactory
Creates instances of various objects used by analyzer
| Method Summary | |
|---|---|
static Analyzer |
newAnalyzer()
Deprecated. Creates a new instance of analyzer using default Parser and default ConditionSet |
static Analyzer |
newAnalyzer(Class<? extends ConditionSet> conditionsClass)
Deprecated. Creates a new instance of analyzer using given condition set and default Parser |
static Analyzer |
newAnalyzer(Class<? extends Parser> parserClass,
Class<? extends ConditionSet> conditionsClass)
Deprecated. Creates a new instance of analyzer using given condition set and parser |
static Analyzer |
newAnalyzer(Parser p,
ConditionSet c)
Deprecated. Creates a new instance of analyzer using given Parser and ConditionSet |
static ConditionSet |
newConditionSet(Class<? extends ConditionSet> clazz)
Deprecated. Creates new instance of ConditionSet by invoking default constructor in given class. |
static ConditionSet |
newConditionSet(String className)
Deprecated. Creates new instance of ConditionSet by invoking default constructor in class defined by given class name. |
static ReportFormatter |
newFormatter()
Deprecated. Creates a new instance of default ReportFormatter. |
static ReportFormatter |
newFormatter(Class<? extends ReportFormatter> clazz)
Deprecated. Creates a new instance of ReportFormatter by invoking default constructor in class defined by given class. |
static ReportFormatter |
newFormatter(String className)
Deprecated. Creates a new instance of ReportFormatter by invoking default constructor in class defined by given class name. |
static Parser |
newParser(Class<? extends Parser> clazz)
Deprecated. Creates new instance of Parser by invoking default constructor in given class. |
static Parser |
newParser(String className)
Deprecated. Creates new instance of Parser by invoking default constructor in class defined by given class name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Parser newParser(String className)
throws InstantiationException
className - - name of the class to be constructed
InstantiationException - - when exception occurs during creating
new instance
public static Parser newParser(Class<? extends Parser> clazz)
throws InstantiationException
clazz - - class to be constructed
InstantiationException - - when exception occurs during creating
new instance
public static ConditionSet newConditionSet(String className)
throws InstantiationException
className - - name of the class to be constructed
InstantiationException - - when exception occurs during creating
new instance
public static ConditionSet newConditionSet(Class<? extends ConditionSet> clazz)
throws InstantiationException
clazz - - class to be constructed
InstantiationException - - when exception occurs during creating
new instance
public static Analyzer newAnalyzer()
throws InstantiationException
InstantiationException - - when exception occurs during creating
new instance
public static Analyzer newAnalyzer(Class<? extends ConditionSet> conditionsClass)
throws InstantiationException
conditionsClass - - conditions to use
InstantiationException - - when exception occurs during creating
new instance
public static Analyzer newAnalyzer(Class<? extends Parser> parserClass,
Class<? extends ConditionSet> conditionsClass)
throws InstantiationException
parserClass - - parser to useconditionsClass - - conditions to use
InstantiationException - - when exception occurs during creating
new instance
public static Analyzer newAnalyzer(Parser p,
ConditionSet c)
throws InstantiationException
p - - Parser to usec - - ConditionSet to use
InstantiationException - - when exception occurs during creating
new instance
public static ReportFormatter newFormatter()
throws InstantiationException
InstantiationException - - when exception occurs during creating
new instance
public static ReportFormatter newFormatter(String className)
throws InstantiationException
className - - name of the class to be constructed
InstantiationException - - when exception occurs during creating
new instance
public static ReportFormatter newFormatter(Class<? extends ReportFormatter> clazz)
throws InstantiationException
clazz - - class to be constructed
InstantiationException - - when exception occurs during creating
new instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||