| java.lang.Object org.apache.cocoon.components.source.AbstractSAXSource
AbstractSAXSource | abstract public class AbstractSAXSource implements Source(Code) | | 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.
author: Gianugo Rabellino version: CVS $Id: AbstractSAXSource.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
protected Logger | log | protected ComponentManager | manager |
log | protected Logger log(Code) | | The Logger instance
|
manager | protected ComponentManager manager(Code) | | The ComponentManager instance
|
AbstractSAXSource | public AbstractSAXSource(Environment environment, ComponentManager manager, Logger logger)(Code) | | The constructor.
Parameters: environment - the Cocoon Environment. Parameters: manager - an Avalon Component Manager Parameters: logger - A LogKit logger |
getContentLength | public long getContentLength()(Code) | | Override this method to set the Content Length
|
getLastModified | public long getLastModified()(Code) | | Override this method to set the Last Modification date
|
getSystemId | abstract public String getSystemId()(Code) | | Implement this method to set the unique identifier.
|
|
|