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, eventAware, expires, manager, protocol, source, sourceUri, uri |
Methods inherited from class org.apache.cocoon.components.source.impl.CachingSource |
dispose, exists, getBinaryResponse, getCacheKey, getCacheValidities, getContentLength, getExpiration, getInputStream, getLastModified, getMimeType, getResponseMeta, getScheme, getSourceURI, getURI, getValidity, getXMLResponse, initialize, readBinaryResponse, 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(CachingSourceFactory factory,
String protocol,
String uri,
String sourceUri,
TraversableSource source,
int expires,
String cacheName,
boolean async,
boolean eventAware)
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,
String wrappedUri,
Source wrapped)
throws SourceException
- Throws:
SourceException
readMeta
protected CachingSource.SourceMeta readMeta(Source source)
throws SourceException
- Description copied from class:
CachingSource
- Read meta data from source.
- Overrides:
readMeta
in class CachingSource
- Throws:
SourceException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.