|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLConsumer
org.apache.cocoon.components.source.SitemapSource
public final class SitemapSource
Description of a source which is defined by a pipeline.
| Constructor Summary | |
|---|---|
SitemapSource(ComponentManager manager,
String uri,
Logger logger)
Deprecated. Construct a new object |
|
| 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 a new InputSource object |
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 |
void |
recycle()
Deprecated. |
void |
refresh()
Deprecated. Refresh this object and update the last modified date and content length. |
void |
toSAX(ContentHandler contentHandler)
Deprecated. Stream content to the content handler |
| Methods inherited from class org.apache.cocoon.xml.AbstractXMLConsumer |
|---|
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SitemapSource(ComponentManager manager,
String uri,
Logger logger)
throws IOException,
ProcessingException
IOException
ProcessingException| Method Detail |
|---|
public long getLastModified()
getLastModified in interface Sourcepublic long getContentLength()
getContentLength in interface Source
public InputStream getInputStream()
throws ProcessingException,
IOException
InputStream object to read from the source.
getInputStream in interface SourceProcessingException
IOExceptionpublic String getSystemId()
getSystemId in interface Sourcepublic void refresh()
refresh in interface ModifiableSource
public InputSource getInputSource()
throws ProcessingException,
IOException
InputSource object
getInputSource in interface SourceInputSource value
ProcessingException - if an error occurs
IOException - if an error occurs
public void toSAX(ContentHandler contentHandler)
throws SAXException
toSAX in interface XMLizableSAXExceptionpublic void recycle()
recycle in interface Recyclable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||