Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jbreport.core
Class NullReportStylesheet  view NullReportStylesheet download NullReportStylesheet.java

java.lang.Object
  extended byjbreport.core.AbstractReportElement
      extended byjbreport.core.NullReportStylesheet
All Implemented Interfaces:
java.lang.Cloneable, jbreport.ReportComposite, jbreport.ReportElement, jbreport.ReportStylesheet, Traversable, XMLAware

class NullReportStylesheet
extends AbstractReportElement
implements jbreport.ReportStylesheet

This provides the ReportStylesheet functionality for when the stylesheet does not do anything but return null when queried.


Field Summary
 
Fields inherited from class jbreport.core.AbstractReportElement
attrType, cdata, className, elementType, factory, name, xmlHandler
 
Fields inherited from interface jbreport.ReportElement
DEEP, SHALLOW
 
Constructor Summary
(package private) NullReportStylesheet()
           
 
Method Summary
 void addElement(jbreport.ReportElement elem)
          Adds an element as a child of this element.
 java.lang.String getStyleValue(java.lang.String objectType, java.lang.String className, java.lang.String paramType)
          This method is used to lookup style values.
 
Methods inherited from class jbreport.core.AbstractReportElement
accept, assert, assertNotNull, boundParameters, breakEventNotify, clone, copy, copy, getBoundParamValue, getElement, getFactory, getList, getName, getParent, getRepository, getString, getStylesheet, getType, inOrderIterator, inOrderTraverse, loadData, postOrderIterator, postOrderTraverse, preLoadData, preOrderIterator, preOrderTraverse, setParent, setString, updateData, xmlEnd, xmlEndChild, xmlInitialize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jbreport.ReportElement
boundParameters, copy, copy, getBoundParamValue, getElement, getFactory, getList, getName, getParent, getRepository, getString, getStylesheet, getType, loadData, setParent, setString, xmlEnd, xmlEndChild, xmlInitialize
 

Constructor Detail

NullReportStylesheet

NullReportStylesheet()
Method Detail

addElement

public void addElement(jbreport.ReportElement elem)
Description copied from interface: jbreport.ReportComposite
Adds an element as a child of this element. This should be ordered in the same way as they were inserted.

Specified by:
addElement in interface jbreport.ReportComposite

getStyleValue

public java.lang.String getStyleValue(java.lang.String objectType,
                                      java.lang.String className,
                                      java.lang.String paramType)
                               throws jbreport.ReportException
Description copied from interface: jbreport.ReportStylesheet
This method is used to lookup style values.

Specified by:
getStyleValue in interface jbreport.ReportStylesheet