org.apache.cocoon.components.source.impl
Class BlockContextSource
java.lang.Object
org.apache.excalibur.source.impl.AbstractSource
org.apache.cocoon.components.source.impl.BlockContextSource
- All Implemented Interfaces:
- Source, TraversableSource
- public class BlockContextSource
- extends AbstractSource
- implements TraversableSource
This source makes the immediate children to the blockcontext:/ uri
traversable
- Version:
- $Id: BlockContextSource.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.excalibur.source.impl.AbstractSource |
checkInfos, getContentLength, getInfos, getInputStream, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh, setContentLength, setLastModified, setScheme, setSystemId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockContextSource
public BlockContextSource(String location,
Map blockContexts,
ServiceManager manager)
throws MalformedURLException,
IOException
- Throws:
IOException
MalformedURLException
exists
public boolean exists()
- Specified by:
exists
in interface Source
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
getName
public String getName()
- Specified by:
getName
in interface TraversableSource
getParent
public Source getParent()
throws SourceException
- Specified by:
getParent
in interface TraversableSource
- Throws:
SourceException
isCollection
public boolean isCollection()
- Specified by:
isCollection
in interface TraversableSource
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.