public class SourceSaxHandlerFactories extends Object
Constructor and Description |
---|
SourceSaxHandlerFactories()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public SourceSaxHandlerFactories()
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.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.