org.outerj.xreporter.datatype
Class SearchlistDefinition

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.outerj.xreporter.datatype.SearchlistDefinition
All Implemented Interfaces:
org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled

public class SearchlistDefinition
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.component.Composable

Model of a searchlist (part of a DataType).


Field Summary
protected  org.apache.avalon.framework.component.ComponentManager componentManager
           
protected static java.lang.String LONG_DESCR_EL
           
protected  java.lang.String longDescriptionField
           
protected static java.lang.String ROW_EL
           
protected static java.lang.String SEARCHLIST_EL
           
protected static java.lang.String SHORT_DESCR_EL
           
protected  java.lang.String shortDescriptionField
           
protected  SqlDefinition sqlDefinition
           
protected  Type type
           
protected static java.lang.String VALUE_EL
           
protected  java.lang.String valueField
           
 
Constructor Summary
SearchlistDefinition(Type type)
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void generateSaxFragment(org.xml.sax.ContentHandler contentHandler, ExecutionContext executionContext, ResourceHandle resourceHandle)
          Generates SAX-events (without startDocument and endDocument) containing the contents of the searchlist.
 
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
 

Field Detail

componentManager

protected org.apache.avalon.framework.component.ComponentManager componentManager

sqlDefinition

protected SqlDefinition sqlDefinition

valueField

protected java.lang.String valueField

shortDescriptionField

protected java.lang.String shortDescriptionField

longDescriptionField

protected java.lang.String longDescriptionField

type

protected Type type

SEARCHLIST_EL

protected static final java.lang.String SEARCHLIST_EL
See Also:
Constant Field Values

ROW_EL

protected static final java.lang.String ROW_EL
See Also:
Constant Field Values

VALUE_EL

protected static final java.lang.String VALUE_EL
See Also:
Constant Field Values

SHORT_DESCR_EL

protected static final java.lang.String SHORT_DESCR_EL
See Also:
Constant Field Values

LONG_DESCR_EL

protected static final java.lang.String LONG_DESCR_EL
See Also:
Constant Field Values
Constructor Detail

SearchlistDefinition

public SearchlistDefinition(Type type)
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager componentManager)
             throws org.apache.avalon.framework.component.ComponentException
Specified by:
compose in interface org.apache.avalon.framework.component.Composable
Throws:
org.apache.avalon.framework.component.ComponentException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

generateSaxFragment

public void generateSaxFragment(org.xml.sax.ContentHandler contentHandler,
                                ExecutionContext executionContext,
                                ResourceHandle resourceHandle)
                         throws SqlGenerationException,
                                java.sql.SQLException,
                                org.xml.sax.SAXException
Generates SAX-events (without startDocument and endDocument) containing the contents of the searchlist.

Throws:
SqlGenerationException
java.sql.SQLException
org.xml.sax.SAXException