|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Source
interface instead
public interface Source
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.
Method Summary | |
---|---|
long |
getContentLength()
Deprecated. Get the content length of the source or -1 if it is not possible to determine the length. |
InputSource |
getInputSource()
Deprecated. Return an InputSource object to read the XML
content. |
InputStream |
getInputStream()
Deprecated. Return an InputStream object to read from the source. |
long |
getLastModified()
Deprecated. Get the last modification date of the source or 0 if it is not possible to determine the date. |
String |
getSystemId()
Deprecated. Return the unique identifer for this source |
Methods inherited from interface org.apache.avalon.excalibur.pool.Recyclable |
---|
recycle |
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable |
---|
toSAX |
Method Detail |
---|
long getLastModified()
long getContentLength()
InputStream getInputStream() throws ProcessingException, IOException
InputStream
object to read from the source.
ProcessingException
IOException
InputSource getInputSource() throws ProcessingException, IOException
InputSource
object to read the XML
content.
InputSource
value
ProcessingException
- if an error occurs
IOException
- if an error occursString getSystemId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |