Package org.ametys.plugins.nextcloud
Class NextcloudExplorerGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.ametys.plugins.nextcloud.NextcloudExplorerGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Initializable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
public class NextcloudExplorerGenerator
extends AbstractGenerator
implements Serviceable, Initializable
Generate SAX event to represent the content of a remote Nextcloud repository.
This generator is intended to produced an XML equivalent to one produced by
ResourcesExplorerGenerator.
The main difference will be in the attribute available. No id or icon cls can be computed.-
Field Summary
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
NextcloudExplorerGenerator
public NextcloudExplorerGenerator()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
initialize
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
generate
- Specified by:
generatein interfaceGenerator- Throws:
IOExceptionSAXExceptionProcessingException
-