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