public interface Source extends Recyclable,XMLizable(Code)
Description of a source. This interface provides a simple interface
for accessing a source of data. The source of data is assumed to
not change during the lifetime of the Source object. If you
have a data source that can change its content and you want it to
reflect in Cocoon, use a
ModifiableSource object instead.
org.apache.excalibur.source.Source author: Carsten Ziegeler author: Ovidiu Predescu version: CVS $Id: Source.java 433543 2006-08-22 06:22:54Z crossley $
Method Summary
long
getContentLength() Get the content length of the source or -1 if it
is not possible to determine the length.
Return an InputSource object to read the XML
content.
an InputSource value exception: ProcessingException - if an error occurs exception: IOException - if an error occurs