Class CalendarContentSaxer
java.lang.Object
org.ametys.web.frontoffice.search.metamodel.impl.ContentSaxer
org.ametys.plugins.calendar.search.CalendarContentSaxer
- All Implemented Interfaces:
- ReturnableSaxer
- 
Field SummaryFields inherited from class org.ametys.web.frontoffice.search.metamodel.impl.ContentSaxer_contentReturnable, _contentTypes, _cTypesHelper, _view
- 
Constructor SummaryConstructorsConstructorDescriptionCalendarContentSaxer(AbstractContentBasedReturnable contentReturnable, String view, ContentTypesHelper cTypesHelper, Collection<String> contentTypes) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionprotected LocalegetDefaultLocale(Request request, SearchComponentArguments args) Get the default localevoidsax(ContentHandler contentHandler, AmetysObject hit, Logger logger, SearchComponentArguments args) SAX the given search hitprotected voidsaxHtmlView(ContentHandler contentHandler, Content content, SearchComponentArguments args, Logger logger) SAX content html viewprotected voidsaxTags(Content content, ContentHandler contentHandler) Generates SAX events for tags.Methods inherited from class org.ametys.web.frontoffice.search.metamodel.impl.ContentSaxercanSaxMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.web.frontoffice.search.metamodel.ReturnableSaxergetIdentifier
- 
Constructor Details- 
CalendarContentSaxerpublic CalendarContentSaxer(AbstractContentBasedReturnable contentReturnable, String view, ContentTypesHelper cTypesHelper, Collection<String> contentTypes) Constructor- Parameters:
- contentReturnable- The associated returnable on contents
- view- The view for SAXing contents
- cTypesHelper- the- ContentTypesHelper
- contentTypes- the allowed content types
 
 
- 
- 
Method Details- 
saxpublic void sax(ContentHandler contentHandler, AmetysObject hit, Logger logger, SearchComponentArguments args) throws SAXException Description copied from interface:ReturnableSaxerSAX the given search hit- Specified by:
- saxin interface- ReturnableSaxer
- Overrides:
- saxin class- ContentSaxer
- Parameters:
- contentHandler- The content handler
- hit- The search hit
- logger- A logger
- args- The other arguments
- Throws:
- SAXException- if a SAX error occured
 
- 
getDefaultLocaleGet the default locale- Parameters:
- request- the request
- args- the search arguments
- Returns:
- the default locale
 
- 
saxHtmlViewprotected void saxHtmlView(ContentHandler contentHandler, Content content, SearchComponentArguments args, Logger logger) throws SAXException SAX content html view- Parameters:
- contentHandler- the content handler
- content- the content
- args- the search arguments
- logger- the logger
- Throws:
- SAXException- if an error occurred while saxing
 
- 
saxTagsGenerates SAX events for tags.- Parameters:
- content- the- WebContent.
- contentHandler- the ContentHandler receving SAX events.
- Throws:
- SAXException- if an error occurs during the SAX events generation.
 
 
-