|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.code.MethodCoderFactory
Base class for factory classes which create MethodCoder
s.
Subclasses must implement the newInstance(com.ashridgetech.jamda.uml.Operation, com.ashridgetech.jamda.code.UmlClassGenerator)
method.
A typical subclass will create instances of an inner class which extends
MethodCoder
, so that it can reference any general
parameters of the MethodCoderFactory
.
Constructor Summary | |
protected |
MethodCoderFactory()
Construct a MethodCoderFactory . |
Method Summary | |
abstract MethodCoder |
newInstance(Operation op,
UmlClassGenerator gen)
Must be implemented by subclasses to create a new MethodCoder . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected MethodCoderFactory()
MethodCoderFactory
.
Method Detail |
public abstract MethodCoder newInstance(Operation op, UmlClassGenerator gen)
MethodCoder
.
op
- the Operation
being codedgen
- the UmlClassGenerator
using the new coder.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |