public class PluginContainer extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
PluginContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(Plugin plugin)
Method addPlugin.
|
PluginContainer |
clone()
Method clone.
|
void |
flushPluginMap()
Reset the
pluginsMap field to null |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
List<Plugin> |
getPlugins()
Method getPlugins.
|
Map<String,Plugin> |
getPluginsAsMap() |
void |
removePlugin(Plugin plugin)
Method removePlugin.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setPlugins(List<Plugin> plugins)
Set the list of plugins to use.
|
public void addPlugin(Plugin plugin)
plugin
- public PluginContainer clone()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void removePlugin(Plugin plugin)
plugin
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setPlugins(List<Plugin> plugins)
plugins
- public void flushPluginMap()
pluginsMap
field to null
public Map<String,Plugin> getPluginsAsMap()
Plugins#getKey()
as keyPlugin.getKey()
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.