org.ametys.plugins.datainclusion.ui
Class QueryTreeGenerator

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.xml.AbstractXMLProducer
          extended by org.apache.cocoon.generation.AbstractGenerator
              extended by org.apache.cocoon.generation.ServiceableGenerator
                  extended by org.ametys.plugins.datainclusion.ui.QueryTreeGenerator
All Implemented Interfaces:
Poolable, Recyclable, Disposable, Component, LogEnabled, Serviceable, Generator, SitemapModelComponent, XMLProducer

public class QueryTreeGenerator
extends ServiceableGenerator

Generate the data sources/query data model as a tree.


Field Summary
protected  DataSourceFactoryExtensionPoint _dataSourceFactoryEP
          The DataSourceFactory extension point.
protected  QueryDao _queryDao
          The Query DAO.
 
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
 
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
 
Constructor Summary
QueryTreeGenerator()
           
 
Method Summary
 void generate()
           
 void service(ServiceManager serviceManager)
           
 
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

_dataSourceFactoryEP

protected DataSourceFactoryExtensionPoint _dataSourceFactoryEP
The DataSourceFactory extension point.


_queryDao

protected QueryDao _queryDao
The Query DAO.

Constructor Detail

QueryTreeGenerator

public QueryTreeGenerator()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Overrides:
service in class ServiceableGenerator
Throws:
ServiceException

generate

public void generate()
              throws IOException,
                     SAXException,
                     ProcessingException
Throws:
IOException
SAXException
ProcessingException


Copyright © 2010 Anyware Services. All Rights Reserved.