|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.components.accessor.MapAccessor
An accessor that handles a Map
of accessors.
Nested Class Summary | |
class |
MapAccessor.AccessorMap
Map that finds the accessor at access time. |
Field Summary |
Fields inherited from interface org.apache.cocoon.components.accessor.Accessor |
ROLE |
Constructor Summary | |
MapAccessor()
|
Method Summary | |
void |
configure(Configuration config)
The accessors that should be part of the map are configured through <element name="the key that will be used in
the map" accessor="the name of the accessor"/> . |
void |
dispose()
Release all resources. |
Object |
getObject()
Get the map of accessors |
void |
service(ServiceManager manager)
Set the current ServiceManager instance used by this
Serviceable . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapAccessor()
Method Detail |
public void configure(Configuration config) throws ConfigurationException
<element name="the key that will be used in
the map" accessor="the name of the accessor"/>
.
configure
in interface Configurable
ConfigurationException
public void service(ServiceManager manager) throws ServiceException
ServiceManager
instance used by this
Serviceable
.
service
in interface Serviceable
ServiceException
public void dispose()
public Object getObject()
getObject
in interface Accessor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |