org.outerj.xreporter.report.definition
Class LinkDefinition

java.lang.Object
  extended byorg.outerj.xreporter.report.definition.LinkDefinition

public class LinkDefinition
extends java.lang.Object


Field Summary
protected  java.lang.String dataSourceId
           
protected static java.lang.String LINK_EL
           
protected  org.outerj.xreporter.report.definition.LinkDefinition.LinkParameter[] parameters
           
protected  java.lang.String reportDefinitionId
           
protected  java.lang.String title
           
 
Constructor Summary
LinkDefinition()
           
 
Method Summary
 boolean addLinkAttributes(org.xml.sax.helpers.AttributesImpl attributes, org.outerj.xreporter.report.definition.DatabaseOutputDefinition.RowValues rowValues, ExecutionContext executionContext, Resources reportResources)
          Returns true if attributes were effectively added.
 void addParameter(java.lang.String parameterId, ColumnDefinition columnDefinition)
           
 void generateSaxFragment(org.xml.sax.ContentHandler contentHandler, org.outerj.xreporter.report.definition.DatabaseOutputDefinition.RowValues rowValues, ExecutionContext executionContext, Resources reportResources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected java.lang.String title

reportDefinitionId

protected java.lang.String reportDefinitionId

dataSourceId

protected java.lang.String dataSourceId

parameters

protected org.outerj.xreporter.report.definition.LinkDefinition.LinkParameter[] parameters

LINK_EL

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

LinkDefinition

public LinkDefinition()
Method Detail

addLinkAttributes

public boolean addLinkAttributes(org.xml.sax.helpers.AttributesImpl attributes,
                                 org.outerj.xreporter.report.definition.DatabaseOutputDefinition.RowValues rowValues,
                                 ExecutionContext executionContext,
                                 Resources reportResources)
                          throws java.sql.SQLException,
                                 org.apache.commons.httpclient.URIException
Returns true if attributes were effectively added. They won't be added if one of the link parameters has a null value.

Throws:
java.sql.SQLException
org.apache.commons.httpclient.URIException

generateSaxFragment

public void generateSaxFragment(org.xml.sax.ContentHandler contentHandler,
                                org.outerj.xreporter.report.definition.DatabaseOutputDefinition.RowValues rowValues,
                                ExecutionContext executionContext,
                                Resources reportResources)
                         throws org.xml.sax.SAXException,
                                org.apache.commons.httpclient.URIException,
                                java.sql.SQLException
Throws:
org.xml.sax.SAXException
org.apache.commons.httpclient.URIException
java.sql.SQLException

addParameter

public void addParameter(java.lang.String parameterId,
                         ColumnDefinition columnDefinition)