|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.excalibur.source.impl.AbstractSource
org.apache.cocoon.components.source.impl.ModuleSource
A Source that takes its content from a
module.
The URI syntax is
"module:
| Constructor Summary | |
ModuleSource(Map objectModel,
String uri,
ServiceManager manager)
Create a module source from a 'module:' uri and a the object model. |
|
| Method Summary | |
boolean |
exists()
Does this source actually exist ? |
InputStream |
getInputStream()
Return an InputStream object to read from the source. |
| Methods inherited from class org.apache.excalibur.source.impl.AbstractSource |
checkInfos, getContentLength, getInfos, 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 |
| Constructor Detail |
public ModuleSource(Map objectModel,
String uri,
ServiceManager manager)
throws MalformedURLException
The uri is of the form "module:attribute-type:attribute-name#xpath
| Method Detail |
public InputStream getInputStream()
throws IOException
InputStream object to read from the source.
IOException - if I/O error occured.public boolean exists()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||