|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nz.ac.waikato.mcennis.rat.AbstractFactory<Link> nz.ac.waikato.mcennis.rat.graph.link.LinkFactory
public class LinkFactory
Class for generating Links from a Properties map.
Field Summary | |
---|---|
static boolean |
isInitialized
|
Fields inherited from class nz.ac.waikato.mcennis.rat.AbstractFactory |
---|
map, properties |
Constructor Summary | |
---|---|
protected |
LinkFactory()
Creates a new instance of LinkFactory |
Method Summary | |
---|---|
Link |
create(Properties props)
Create the given object using the settings in the Properties object. |
Link |
create(java.lang.String relation)
Creates a new Link based on the 'LinkClass' attribute. |
Link |
create(java.lang.String relation,
Properties parameters)
|
Parameter |
getClassParameter()
Return the parameter containing the name of the default type produced by this object. |
static void |
initialization()
|
static LinkFactory |
newInstance()
Create a new reference to a singelton LinkFactory object |
Methods inherited from class nz.ac.waikato.mcennis.rat.AbstractFactory |
---|
addDefaultProperty, addType, check, 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
Constructor Detail |
---|
protected LinkFactory()
Method Detail |
---|
public static LinkFactory newInstance()
public static void initialization()
public Link create(java.lang.String relation)
props
- map of properties for creating a map
public Link create(Properties props)
AbstractFactory
create
in class AbstractFactory<Link>
props
- parameters used to control the factory.
public Link create(java.lang.String relation, Properties parameters)
public Parameter getClassParameter()
AbstractFactory
getClassParameter
in class AbstractFactory<Link>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |