|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anwrt.anycontent.extensions.page.AbstractPageManager
This class is an abstract ancester for class that manage page extensions such as contributor.
It is base on a configuration file, dividing icons into categories.
| Nested Class Summary | |
protected class |
AbstractPageManager.Item
This class describe an item of a page handle by the page manager. |
| Field Summary | |
protected java.util.Map |
_categories
The categories of icones |
protected java.lang.String |
_extensionPointId
The extensions point id associated to the page manager implementation |
protected java.util.List |
_orderedCategoriesId
A list of ordered categroies'id |
| Constructor Summary | |
AbstractPageManager()
|
|
| Method Summary | |
protected void |
configure(Configuration configuration,
AbstractPageExtensionPoint apep)
Configure the page manager |
void |
init(java.lang.String contextPath)
Initialize the manager reading the configuration file |
void |
toSAX(org.xml.sax.ContentHandler ch,
Principal principal,
java.util.Map objectModel,
ServiceManager manager)
Send the SAX events to build a icon page |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String _extensionPointId
protected java.util.Map _categories
protected java.util.List _orderedCategoriesId
| Constructor Detail |
public AbstractPageManager()
| Method Detail |
public void init(java.lang.String contextPath)
throws java.lang.Exception
contextPath - The context path of the servlet
java.lang.Exception - if an error occured opening, reading or making the
configuration
protected void configure(Configuration configuration,
AbstractPageExtensionPoint apep)
throws ConfigurationException
configuration - The page configurationapep - The extension point associated to the current implementation of the page manager
ConfigurationException - if configuration is incorrect
public void toSAX(org.xml.sax.ContentHandler ch,
Principal principal,
java.util.Map objectModel,
ServiceManager manager)
throws org.xml.sax.SAXException
ch - The content handler where to sax eventsprincipal - The current principal to determines rights. Can be null if rights does not have to be checked.objectModel - The cocoon objectModelmanager - The avalon service manager
org.xml.sax.SAXException - If an error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||