Package org.geotools.xsd.impl
Class PicoMap
Object
PicoMap
- All Implemented Interfaces:
- Map,- Disposable,- MutablePicoContainer,- PicoContainer,- Startable
A 
Map decorator which implements the MutablePicoContainer interface.
 This class is used internally to help transition from pico container to a map based system for registering bindings.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
- 
Nested Class Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(PicoVisitor visitor) booleanaddChildContainer(PicoContainer child) voidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) voiddispose()entrySet()booleanComponentAdaptergetComponentAdapter(Object componentKey) ComponentAdaptergetComponentAdapterOfType(Class componentType) getComponentAdaptersOfType(Class componentType) getComponentInstance(Object componentKey) getComponentInstanceOfType(Class componentType) getComponentInstancesOfType(Class componentType) PicoContainerinthashCode()booleanisEmpty()keySet()MutablePicoContainervoidComponentAdapterregisterComponent(ComponentAdapter componentAdapter) ComponentAdapterregisterComponentImplementation(Class componentImplementation) ComponentAdapterregisterComponentImplementation(Object componentKey, Class componentImplementation) ComponentAdapterregisterComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters) ComponentAdapterregisterComponentInstance(Object componentInstance) ComponentAdapterregisterComponentInstance(Object componentKey, Object componentInstance) booleanremoveChildContainer(PicoContainer child) intsize()voidstart()voidstop()ComponentAdapterunregisterComponent(Object componentKey) ComponentAdapterunregisterComponentByInstance(Object componentInstance) values()voidverify()Methods inherited from class Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
PicoMap
 
- 
- 
Method Details- 
clearpublic void clear()
- 
containsKey- Specified by:
- containsKeyin interface- Map
 
- 
containsValue- Specified by:
- containsValuein interface- Map
 
- 
entrySet
- 
equals
- 
get
- 
hashCodepublic int hashCode()
- 
isEmptypublic boolean isEmpty()
- 
keySet
- 
put
- 
putAll
- 
remove
- 
sizepublic int size()
- 
values
- 
addChildContainerpublic boolean addChildContainer(PicoContainer child) - Specified by:
- addChildContainerin interface- MutablePicoContainer
 
- 
makeChildContainerpublic MutablePicoContainer makeChildContainer()- Specified by:
- makeChildContainerin interface- MutablePicoContainer
 
- 
registerComponentpublic ComponentAdapter registerComponent(ComponentAdapter componentAdapter) - Specified by:
- registerComponentin interface- MutablePicoContainer
 
- 
registerComponentImplementation- Specified by:
- registerComponentImplementationin interface- MutablePicoContainer
 
- 
registerComponentImplementationpublic ComponentAdapter registerComponentImplementation(Object componentKey, Class componentImplementation) - Specified by:
- registerComponentImplementationin interface- MutablePicoContainer
 
- 
registerComponentImplementationpublic ComponentAdapter registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters) - Specified by:
- registerComponentImplementationin interface- MutablePicoContainer
 
- 
registerComponentInstance- Specified by:
- registerComponentInstancein interface- MutablePicoContainer
 
- 
registerComponentInstance- Specified by:
- registerComponentInstancein interface- MutablePicoContainer
 
- 
removeChildContainerpublic boolean removeChildContainer(PicoContainer child) - Specified by:
- removeChildContainerin interface- MutablePicoContainer
 
- 
unregisterComponent- Specified by:
- unregisterComponentin interface- MutablePicoContainer
 
- 
unregisterComponentByInstance- Specified by:
- unregisterComponentByInstancein interface- MutablePicoContainer
 
- 
acceptpublic void accept(PicoVisitor visitor) - Specified by:
- acceptin interface- PicoContainer
 
- 
getComponentAdapter- Specified by:
- getComponentAdapterin interface- PicoContainer
 
- 
getComponentAdapterOfType- Specified by:
- getComponentAdapterOfTypein interface- PicoContainer
 
- 
getComponentAdapters- Specified by:
- getComponentAdaptersin interface- PicoContainer
 
- 
getComponentAdaptersOfType- Specified by:
- getComponentAdaptersOfTypein interface- PicoContainer
 
- 
getComponentInstance- Specified by:
- getComponentInstancein interface- PicoContainer
 
- 
getComponentInstanceOfType- Specified by:
- getComponentInstanceOfTypein interface- PicoContainer
 
- 
getComponentInstances- Specified by:
- getComponentInstancesin interface- PicoContainer
 
- 
getComponentInstancesOfType- Specified by:
- getComponentInstancesOfTypein interface- PicoContainer
 
- 
getParentpublic PicoContainer getParent()- Specified by:
- getParentin interface- PicoContainer
 
- 
verifypublic void verify() throws PicoVerificationException- Specified by:
- verifyin interface- PicoContainer
- Throws:
- PicoVerificationException
 
- 
startpublic void start()- Specified by:
- startin interface- Startable
 
- 
stoppublic void stop()- Specified by:
- stopin interface- Startable
 
- 
disposepublic void dispose()- Specified by:
- disposein interface- Disposable
 
 
-