Package org.ametys.web.inputdata
Class UserInputData
java.lang.Object
org.ametys.web.inputdata.UserInputData
- All Implemented Interfaces:
InputData,Contextualizable,Serviceable
InputData for SAXing events about FO user-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) booleanisCacheable(Site site, Page page) Returns true if thisInputDatais cacheable for the current site and if possible page.voidservice(ServiceManager manager) voidtoSAX(ContentHandler handler) Generates SAX events for providing data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.web.inputdata.InputData
shouldBeCached
-
Constructor Details
-
UserInputData
public UserInputData()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
isCacheable
Description copied from interface:InputDataReturns true if thisInputDatais cacheable for the current site and if possible page.- Specified by:
isCacheablein interfaceInputData- Parameters:
site- the currentSite.page- the currentPage. Can be null.- Returns:
- true if this
InputDatais cacheable for the current site or page.
-
toSAX
Description copied from interface:InputDataGenerates SAX events for providing data.- Specified by:
toSAXin interfaceInputData- Parameters:
handler- the content handler to SAX into.- Throws:
SAXException- if an error occurs while SAXing.ProcessingException- if an error occurs during processing.
-