|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.mcennis.rat.AbstractFactory<Handler>
nz.ac.waikato.mcennis.rat.parser.xmlHandler.HandlerFactory
public class HandlerFactory
Factory class for creating SAX XML parsers for use with the XML Parser class.
Field Summary | |
---|---|
static boolean |
isInitialized
|
Fields inherited from class nz.ac.waikato.mcennis.rat.AbstractFactory |
---|
map, properties |
Method Summary | |
---|---|
boolean |
check(Properties parameters)
Verify, without modifying the underlying property lists, that the given Properties object can be merged with this factory, satisfying all constraints. |
Handler |
create(Properties props)
Create the given object using the settings in the Properties object. |
Handler |
create(java.lang.String classType)
|
Handler |
create(java.lang.String classType,
Properties parameters)
|
Parameter |
getClassParameter()
Return the parameter containing the name of the default type produced by this object. |
static void |
initialization()
|
static HandlerFactory |
newInstance()
Return a reference to a singelton HandlerFactory |
Methods inherited from class nz.ac.waikato.mcennis.rat.AbstractFactory |
---|
addDefaultProperty, addType, check, getKnownTypes, getParameter, getParameter, setDefaultProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean isInitialized
Method Detail |
---|
public static HandlerFactory newInstance()
public static void initialization()
public Handler create(Properties props)
AbstractFactory
create
in class AbstractFactory<Handler>
props
- parameters used to control the factory.
public Handler create(java.lang.String classType)
public Handler create(java.lang.String classType, Properties parameters)
public boolean check(Properties parameters)
AbstractFactory
check
in class AbstractFactory<Handler>
parameters
- Properties object that might be merged in
public Parameter getClassParameter()
AbstractFactory
getClassParameter
in class AbstractFactory<Handler>
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |