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

Quick Search    Search Deep

org.apache.cocoon.components.source: Javadoc index of package org.apache.cocoon.components.source.


Package Samples:

org.apache.cocoon.components.source

Classes:

BlobSource: A Source that takes its content in a single JDBC column. Any kind of column can be used (clob, blob, varchar, etc), but "Blob" means that the whole content is contained in a single column. The URL syntax is "blob:/datasource/table/column[cond]", where : "datasource" is the jdbc datasource to use (defined in cocoon.xonf) "table" is the database table, "column" is (you can guess, now :) the column in "table", "cond" is the boolean condition used to select a particular record in the table. For example, " blob:/personel/people/photo[userid='foo'] " will fetch the first column returned by the statement ...
EnvironmentChanger: This class is an org.apache.cocoon.xml.XMLConsumer that changes the current environment. When a pipeline calls an internal pipeline, two environments are established: one for the calling pipeline and one for the internal pipeline. Now, if SAX events are send from the internal pipeline, they are received by some component of the calling pipeline, so inbetween we have to change the environment forth and back.
AbstractStreamSource: This abstract class provides convenience methods to implement a stream based Source. Implement getInputStream(), getSystemId() and optionally override refresh(), recycle(), getLastModified() and getContentLength() to obtain a valid Source implementation. This base implementation provides services to parse HTML sources (HTML is not valid XML) using JTidy, if present. The source is considered to contain HTML if isHTMLContent() returns true.
AbstractStreamWriteableSource: This abstract class provides convenience methods to implement a stream based WriteableSource . Implement getOutputStream() to obtain a valid implementation. This base implementation creates a ContentHandler by using the sitemap 'xml' serializer to write SAX events to the stream returned by getOutputStream() .
AbstractSAXSource: This abstract class provides convenience methods to implement a SAX based Source. Implement toSAX() and getSystemId() and optionally override getLastModified() and getContentLength() to obtain a valid Source implementation.
CocoonSourceFactory: This class implements the cocoon: protocol. It cannot be configured like the other source factories as it needs the current Sitemap as input.
DelayedRefreshSourceWrapper: A wrapper around a Source that reduces the number of calls to Source.getLastModified() which can be a costly operation.
XMLDBSource: This class implements the xmldb:// pseudo-protocol and allows to get XML content from an XML:DB enabled XML database.
XMLDBSourceFactory: This class implements the xmldb:// pseudo-protocol and allows to get XML content from an XML:DB enabled XML database.
SitemapSource: Description of a source which is defined by a pipeline.
FileSource: A WriteableSource for 'file:/' system IDs.
URLSource: Description of a source which is described by an URL.
FileSourceFactory: A factory for 'file:' sources.
BlobSourceFactory: A factory for 'blob:' sources.
SourceHandlerImpl
SourceHandler
SourceFactory

Home | Contact Us | Privacy Policy | Terms of Service