| org.apache.cocoon.components.source.TraversableSource
TraversableSource | public interface TraversableSource extends Source(Code) | | A source, which can be a directory or collection of sources.
author: Stephan Michels version: CVS $Id: TraversableSource.java 433543 2006-08-22 06:22:54Z crossley $ |
getChildSource | public String getChildSource(int index) throws SourceException(Code) | | Return the system id of a child source.
Parameters: index - Index of the child |
getChildSourceCount | public int getChildSourceCount() throws SourceException(Code) | | Returns the count of child sources.
|
getParentSource | public String getParentSource()(Code) | | Return the system id of the parent source. The method should return
null if the source has no parent.
|
isSourceCollection | public boolean isSourceCollection() throws SourceException(Code) | | If the source a directory or a collection
|
|
|