Class CalendarDynamicInformationGenerator
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.xml.AbstractXMLProducer
-
- org.apache.cocoon.generation.AbstractGenerator
-
- org.apache.cocoon.generation.ServiceableGenerator
-
- org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
-
- org.ametys.plugins.messagingconnector.dynamic.AbstractMessagingConnectorDynamicInformationGenerator
-
- org.ametys.plugins.messagingconnector.dynamic.CalendarDynamicInformationGenerator
-
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
public class CalendarDynamicInformationGenerator extends AbstractMessagingConnectorDynamicInformationGenerator
Generates sax events for calendar information
-
-
Field Summary
Fields Modifier and Type Field Description private static int__DEFAULT_MAX_DAYS-
Fields inherited from class org.ametys.plugins.messagingconnector.dynamic.AbstractMessagingConnectorDynamicInformationGenerator
_messagingConnector
-
Fields inherited from class org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
_currentUserProvider, DYNAMIC_INFORMATION, ERROR, ERROR_ATTRIBUTE_TYPE, ITEM, ITEM_FOOTER, ITEM_SUMMARY, ITEM_TITLE, LONG_VALUE, SHORT_VALUE, TOOLTIP
-
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
-
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
-
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
-
Constructor Summary
Constructors Constructor Description CalendarDynamicInformationGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetMaxDays()Get the max days for searchprotected StringgetSpanId()Get the id of span element where to insert the link to set/update passwordprotected voidsaxLongValue()Create a long value node.protected voidsaxShortValue()Create a short value node.protected voidsaxTooltips()Create a tooltip node.-
Methods inherited from class org.ametys.plugins.messagingconnector.dynamic.AbstractMessagingConnectorDynamicInformationGenerator
saxError, service
-
Methods inherited from class org.ametys.plugins.linkdirectory.dynamic.AbstractInternalDynamicInformationGenerator
generate, getCurrentLanguage, getCurrentUser, getMaxItems, saxItem, saxItem
-
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
-
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
-
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
-
-
-
Field Detail
-
__DEFAULT_MAX_DAYS
private static final int __DEFAULT_MAX_DAYS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CalendarDynamicInformationGenerator
public CalendarDynamicInformationGenerator()
-
-
Method Detail
-
saxShortValue
protected void saxShortValue() throws SAXException, DynamicInformationException
Description copied from class:AbstractInternalDynamicInformationGeneratorCreate a short value node.- Specified by:
saxShortValuein classAbstractInternalDynamicInformationGenerator- Throws:
SAXException- If a SAXException error occursDynamicInformationException
-
saxLongValue
protected void saxLongValue() throws SAXException, DynamicInformationException
Description copied from class:AbstractInternalDynamicInformationGeneratorCreate a long value node.- Specified by:
saxLongValuein classAbstractInternalDynamicInformationGenerator- Throws:
SAXException- If a error occurs while saxingDynamicInformationException
-
saxTooltips
protected void saxTooltips() throws SAXException, DynamicInformationException
Description copied from class:AbstractInternalDynamicInformationGeneratorCreate a tooltip node.- Specified by:
saxTooltipsin classAbstractInternalDynamicInformationGenerator- Throws:
SAXException- If a error occurs while saxingDynamicInformationException
-
getMaxDays
protected int getMaxDays()
Get the max days for search- Returns:
- the max number of day
-
getSpanId
protected String getSpanId()
Description copied from class:AbstractMessagingConnectorDynamicInformationGeneratorGet the id of span element where to insert the link to set/update password- Specified by:
getSpanIdin classAbstractMessagingConnectorDynamicInformationGenerator- Returns:
- id of span element
-
-