| org.apache.cocoon.components.source.impl.SitemapSource
SitemapSource | final public class SitemapSource extends AbstractLogEnabled implements Source,XMLizable(Code) | | Implementation of a
Source that gets its content
by invoking a pipeline.
author: Carsten Ziegeler version: $Id: SitemapSource.java 540711 2007-05-22 19:36:07Z cziegeler $ |
Inner Class :final public static class SitemapSourceValidity implements SourceValidity,Serializable | |
exists | public boolean exists()(Code) | | Returns true always.
See Also: org.apache.excalibur.source.Source.exists |
getContentLength | public long getContentLength()(Code) | | Get the content length of the source or -1 if it
is not possible to determine the length.
|
getInputStream | public InputStream getInputStream() throws IOException, SourceException(Code) | | Return an InputStream object to read from the source.
|
getLastModified | public long getLastModified()(Code) | | Get the last modification date.
The last modification in milliseconds since January 1, 1970 GMTor 0 if it is unknown |
getMimeType | public String getMimeType()(Code) | | The mime-type of the content described by this object.
If the source is not able to determine the mime-type by itself
this can be null.
|
getParameter | public String getParameter(String name)(Code) | | Get the value of a parameter.
Using this it is possible to get custom information provided by the
source implementation, like an expires date, HTTP headers etc.
|
getParameterAsLong | public long getParameterAsLong(String name)(Code) | | Get the value of a parameter.
Using this it is possible to get custom information provided by the
source implementation, like an expires date, HTTP headers etc.
|
getParameterNames | public Iterator getParameterNames()(Code) | | Get parameter names
Using this it is possible to get custom information provided by the
source implementation, like an expires date, HTTP headers etc.
|
getScheme | public String getScheme()(Code) | | Return the protocol identifier.
|
getURI | public String getURI()(Code) | | Returns the unique identifer for this source
|
getValidity | public SourceValidity getValidity()(Code) | | Get the validity object. This wraps validity of the enclosed event
pipeline. If pipeline is not cacheable, null is returned.
|
init | protected void init()(Code) | | Initialize
|
recycle | public void recycle()(Code) | | Recyclable
|
refresh | public void refresh()(Code) | | Refresh this object and update the last modified date
and content length.
|
|
|