|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.generator.configuration.OutletTypes
public class OutletTypes
Manages the types of known Outlets. This include information about how to read the configuration of each outlet type.
| Constructor Summary | |
|---|---|
OutletTypes()
Constructor. |
|
| Method Summary | |
|---|---|
Map<String,TypedOutletSaxHandlerFactory> |
getTypedOutletHandlerFactories()
Returns an unmodifiable map containing all typed outlet handler factories, keyed by their type. |
List<UntypedOutletSaxHandlerFactory> |
getUntypedOutletHandlerFactories()
Returns an unmodifiable list containing all untyped outlet handler factories. |
void |
registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory)
Registers a handler for a new type of outlets. |
void |
registerUntypedOutletHandlerFactory(UntypedOutletSaxHandlerFactory factory)
Registers a untyped handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutletTypes()
| Method Detail |
|---|
public void registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory)
throws ConfigurationException
factory - the factory which handles the outlets of the
given type.
NullPointerException - if factory is null.
ConfigurationException - if a factory already exists
for the type of the outlet.
public void registerUntypedOutletHandlerFactory(UntypedOutletSaxHandlerFactory factory)
throws ConfigurationException
factory - the factory which can handle outlets of different types
NullPointerException - if factory is null.
ConfigurationException - if a factory already exists
for the type of the outlet.public Map<String,TypedOutletSaxHandlerFactory> getTypedOutletHandlerFactories()
public List<UntypedOutletSaxHandlerFactory> getUntypedOutletHandlerFactories()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||