org.apache.cocoon.components.source.impl
Class TraversableCachingSource
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.CachingSource
org.apache.cocoon.components.source.impl.TraversableCachingSource
- All Implemented Interfaces:
- Initializable, LogEnabled, Serviceable, Source, TraversableSource, XMLizable
- Direct Known Subclasses:
- InspectableTraversableCachingSource
- public class TraversableCachingSource
- extends CachingSource
- implements TraversableSource
Traversable version of CachingSource
.
Fields inherited from class org.apache.cocoon.components.source.impl.CachingSource |
async, cache, CACHE_EXPIRES_PARAM, CACHE_NAME_PARAM, cacheKey, cacheName, expires, freshMeta, manager, protocol, response, source, uri |
Methods inherited from class org.apache.cocoon.components.source.impl.CachingSource |
dispose, exists, getCacheKey, getContentLength, getExpiration, getInputStream, getLastModified, getMimeType, getScheme, getSourceURI, getURI, getValidity, initBinaryResponse, initialize, initMetaResponse, initXMLResponse, readBinaryResponse, readMeta, readXMLResponse, refresh, service, toSAX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraversableCachingSource
public TraversableCachingSource(String protocol,
String uri,
TraversableSource source,
int expires,
String cacheName,
boolean async)
getName
public String getName()
- Specified by:
getName
in interface TraversableSource
isCollection
public boolean isCollection()
- Specified by:
isCollection
in interface TraversableSource
getChild
public Source getChild(String name)
throws SourceException
- Specified by:
getChild
in interface TraversableSource
- Throws:
SourceException
getChildren
public Collection getChildren()
throws SourceException
- Specified by:
getChildren
in interface TraversableSource
- Throws:
SourceException
getParent
public Source getParent()
throws SourceException
- Specified by:
getParent
in interface TraversableSource
- Throws:
SourceException
createSource
protected final TraversableCachingSource createSource(String uri,
Source wrapped)
throws SourceException
- Throws:
SourceException
newSource
protected TraversableCachingSource newSource(String uri,
Source wrapped)
initializeSource
protected void initializeSource(TraversableCachingSource source)
throws SourceException
- Throws:
SourceException
createMeta
protected CachingSource.SourceMeta createMeta()
- Overrides:
createMeta
in class CachingSource
initMeta
protected void initMeta(CachingSource.SourceMeta meta,
Source source)
throws IOException
- Overrides:
initMeta
in class CachingSource
- Throws:
IOException
remove
protected void remove()
- Overrides:
remove
in class CachingSource
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.