|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.generator.configuration.source.SourceSaxHandlerFactories
public class SourceSaxHandlerFactories
A registry of SourceSaxHandlerFactories. $Id: SourceSaxHandlerFactories.java 1331190 2012-04-27 02:41:35Z tfischer $
Constructor Summary | |
---|---|
SourceSaxHandlerFactories()
Constructor. |
Method Summary | |
---|---|
SourceSaxHandlerFactory |
getSourceSaxHandlerFactory(String type)
Returns the SourceSaxHandlerFactory associated with the given type. |
Set<String> |
getSourceTypes()
Returns the known source types. |
void |
register(SourceSaxHandlerFactory sourceSaxHandlerFactory)
Registers a new SourcseSaxHandlerFactory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceSaxHandlerFactories()
Method Detail |
---|
public void register(SourceSaxHandlerFactory sourceSaxHandlerFactory) throws ConfigurationException
sourceSaxHandlerFactory
- the factory to register, not null.
ConfigurationException
- if the type of the registered factory
already exists.public SourceSaxHandlerFactory getSourceSaxHandlerFactory(String type)
type
- the type top look for, not null.
public Set<String> getSourceTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |