Java Doc for DatasetProducer.java in  » Chart » cewolf-1.0 » de » laures » cewolf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Chart » cewolf 1.0 » de.laures.cewolf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.laures.cewolf.DatasetProducer

All known Subclasses:   de.laures.cewolf.dp.DataSourceXYDatasetProducer,  de.laures.cewolf.dp.MovingAverageDatasetProducer,
DatasetProducer
public interface DatasetProducer extends Serializable(Code)
Produces a org.jfree.data.Dataset which will be rendered as a chart afterwards.
See Also:   org.jfree.data.Dataset
author:
   Guido Laures
since:
   0.1


Field Summary
final public static  StringPRODUCER_ATTRIBUTE_NAME
     By default the the name of the JSP attribute holding the producer instance is passed to the produceDataset method as a prameter.


Method Summary
 StringgetProducerId()
     Tis method returns a unique ID for a DatasetProducer from this class.
 booleanhasExpired(Map params, Date since)
     This method is called by the Cewolf framework to check if a formerly produced data can be reused.
 ObjectproduceDataset(Map params)
     Produces a org.jfree.data.Dataset object.
Parameters:
  params - additional params for the dataset production.

Field Detail
PRODUCER_ATTRIBUTE_NAME
final public static String PRODUCER_ATTRIBUTE_NAME(Code)
By default the the name of the JSP attribute holding the producer instance is passed to the produceDataset method as a prameter.





Method Detail
getProducerId
String getProducerId()(Code)
Tis method returns a unique ID for a DatasetProducer from this class. Producers with the same ID are supposed to produce the same data when called with the same paramters. the unique ID for instances of this poducer class
since:
   0.9



hasExpired
boolean hasExpired(Map params, Date since)(Code)
This method is called by the Cewolf framework to check if a formerly produced data can be reused. If the data which had already been used for chart rendering is still valid this method should return true. If possible the Cewolf framework will try to reuse the rendered chart image. If this is not possible because of some circumstances (e.g. the chart had been removed from the image cache) the produceDataset method is called afterwards. Therefore there is no guarantee that the dataset production is always avoided if this method returns true.
Parameters:
  params - the production parameters of the already produced data
Parameters:
  since - the point in time when the already produced data had been produced true if the data which had been produced with the passed in parameters has expired since its creation, false otherwise
since:
   0.9



produceDataset
Object produceDataset(Map params) throws DatasetProduceException(Code)
Produces a org.jfree.data.Dataset object.
Parameters:
  params - additional params for the dataset production. All elementsof this HashMap are of type java.io.Serializable. This isnecessary to ensure the the serialization of the dataset producer intothe http session. To provide a producer with additional productionparameters the <param> tag is used (see tag library documentation).It is recommended to synchronize implementations of this method to avoidconcurrency problems. an object of type org.jfree.data.Dataset.
throws:
  DatasetProduceException - if an error occured during production
since:
   0.2



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.