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

Quick Search    Search Deep

org.sourceforge.ProDBA.* (61)org.sourceforge.xfp.* (58)

Package Samples:

org.sourceforge.xfp.filters: This package contains a generic framework and server for data processing.  
org.sourceforge.xfp.filters.xml: This package and subpackages contain the built-in Filters.  


Filter: Base class for all filters. Subclasses must provide a public method named 'execute' accepting 0 or 1 arguments of any type (but primitives) and returning any type (but primitives) or void. Example: public List execute(String input) Filters are parameterized by using JavaBeans setter methods. Any Exception occurred during filter execution should not be trapped, the container takes care of handling exceptions. Subclasses do not need to call super() constructor, since it is empty. A Filter instance is reused by the container, so make sure to correctly reset the Filter status in the reset method. Filters ...
AttributeContainer: Base class for XFP entities that contain attributes. XFP attributes are Avalon components. Currently only a small subset of the Avalon Framework is supported. The supported interfaces are: org.apache.avalon.framework.parameters.Parameterizable org.apache.avalon.framework.activity.Initializable org.apache.avalon.framework.activity.Startable org.apache.avalon.framework.activity.Disposable I need someone with a better knowledge of Avalon to improve this. Please help! Maybe it's not good design choice to extend TimerTask, but it is a practical solution to let Pipeline class extend both AttributeContainer ...
QueryOutput: QueryOutput is the output generated from a report specification. It is made up of three parts: A header band, session band, and detail band. The header band stores the name of the report, the approximate date the report was generated, and column labels. Session band stores session information for stateless clients like web browsers. This information includes the name of the report and the current page of output. The detail band stores database records as well as meta information such as the total records available, the current page start record, and the current page end record. QueryOutput is a ...
QuerySpec: QuerySpec is an object representation of an XML vocabulary for report specifications. All WebExport consist of a name (e.g. Fiscal Budget Spending 2002) and a detail page that is broken down into presentation and backend logic parts. The presentation portion of report specification includes display attributes like how many results to display per page and column headers. The backend logic portion contains database information like the Oracle url, username, and password to use to connect to the instance as well as the sql query to execute upon doing so. QuerySpec is a container for the name of the ...
DetailBand: DetailBand is the part of QueryOutput responsible for holding database records as well as meta information such as the total records available, the current page start record, and the current page end record. Report output is sometimes paged, that is, the entire output of a report spec's SQL query is returned x records at a time, where x is the results_per_page set in a report specification. This is to facillitate ease of viewing and decreased network traffic, etc.
Quakerd: Quakerd is a front controller (for more pattern info see: Willie Wheeler ) that waits for xml report specifications to be added to its repository. It takes these report specifications, builds an object-oriented representation of them, and produces another xml document known as report output. This report output can be viewed in the browser or as Microsoft Excel spreadsheets.
Row: A row of report output. A row contains one or more columns, and each column contains one datum. Two rows of output for the same report spec will contain the same amount of columns, and the positions of the columns will be symetric. For instance, one row with last_name, first_name, and mid_initial columns might have Gates, William, H, so another row in the same output might have Clinton, Bill, H.
FTPInputStream: This class wraps a SocketInputStream. Had to wrap it in order to automatically call FTPClient.completePendingCommand() > FTPClient.completePendingCommand() 55 when the InputStream is closed. When implementing new filters it is vital to make sure that the input stream is closed even in case of exceptions.
SwingWorker: This is the 3rd version of SwingWorker (also known as SwingWorker 3), an abstract class that you subclass to perform GUI-related work in a dedicated thread. For instructions on using this class, see: Note that the API changed slightly in the 3rd version: You must now invoke start() on the SwingWorker after creating it.
BeanInstance: Instantiates a JavaBean and sets its properties. This filter uses the Jakarta Commons BeanUtils package. com.myfirm.MyBean myvalue
XPathAbstractFilter: Base class for filters performing XPath operations. If you are not familiar with the XPath syntax, start with XPath Tutorial by W3Schools . Also see XML Path Language (XPath) Version 1.0 that's the official standard.
JXPathSetValue: Modifies the value of the property described by the supplied xpath. Will throw an exception if one of the following conditions occurs: The xpath does not in fact describe an existing property The property is not writable (no public, non-static set method)
CheckAlreadyFiltered: Checks if input data has been filtered in a previous Pipeline execution. Input data is compared using the equals() method. If the input data has been filtered then the input data is returned, otherwise null is returned causing all descendant filters to be skipped.
FilterContext: This class contains context information for filter execution. Instead of placing context information directly inside Pipeline and pass a Pipeline reference to each filter, this class encapsulates context data in order to minimize subversion-of-control.
FTPChangeToParentDirectory: Changes the current working directory on the remote server to the parent directory. Uses an open FTP session from an attribute. Input is the filename to rename. Filename can be overridden using the filename parameter. input: String, output: String
XFPEngine: This is the main class of xfp package. It can be used by directly calling the main method or as an Avalon component. Current implementation uses the java.util.Timer class to manage Pipeline execution.
DocumentReader: Since the lexer only works with readers and strings, this implementation will be used for the syntax highlighting package. The close method does nothing, and the seek method has been added, so we should be able to get some performance increase.
SqlLexer: This class is a scanner generated by JFlex 1.3.5 on 9/6/02 2:26 PM from the specification file file:/home/jwheeler/projects/ProDBA/src/org/sourceforge/ProDBA/SqlWorkbench/syntax/SqlLexer.jflex
HeaderBand: HeaderBand is the part QueryOutput responsible for holding information that's displayed at the top of report data like the name of the report, the date/time the report was generated, and the column labels.
FTPChangeDirectory: Changes the current working directory on the remote server. Uses an open FTP session from an attribute. Input is the filename to rename. Filename can be overridden using the filename parameter. input: String, output: String
Pipeline: A Pipeline is made of one or more filter trees, information about scheduled execution and administrator email addresses. This class is not thread-safe, a single instance must not be used concurrently by multiple threads.
MultiException: Wraps multiple exceptions. Allows multiple exceptions to be thrown as a single exception. Extracted and readapted from Jetty. Id:,v 1.8 2003/04/26 11:46:44 gregwilkins Exp
PropertyHelper: Helper class for ${} expressions. Code is extracted and adapted from Apache Ant class. The original class could not be used here because of Ant custom log statements.
PatternMatcher: Attempts to match the entire input sequence against the pattern. If the match succeeds then the input String is returned, otherwise null is returned causing all descendant filters to be skipped.
Backend: Backend is responsible for holding information about the database for a report including the Oracle instance url, username, and password and the SQL query to execute upon connecting.

Home | Contact Us | Privacy Policy | Terms of Service