|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.framework.AbstractActor | +--org.apache.cocoon.producer.AbstractProducer | +--org.apache.cocoon.example.DummyProducer
Stupid producer to show how this functionality works.
Fields inherited from class org.apache.cocoon.producer.AbstractProducer |
context, parser |
Fields inherited from class org.apache.cocoon.framework.AbstractActor |
director |
Fields inherited from interface org.apache.cocoon.Defaults |
BROWSERS_PROP, CACHE_DEFAULT, CACHE_PROP, COCOON_FORMAT_PI, COCOON_PROCESS_PI, DEFAULT_BROWSER, DISABLE_CACHING_PI, ERROR_INTERNALLY, FORMATTER_PROP, HOME, INIT_ARG, INTERPRETER_PROP, LOG, LOG_LEVEL, LOOPS, NAME, OUTPUTTING, PARSER_DEFAULT, PARSER_PROP, PROCESSOR_PROP, PRODUCER_PROP, PROFILER_DEFAULT, PROFILER_PROP, PROPERTIES, SHOW_STATUS, STATUS_URL, STATUS_URL_DEFAULT, STORE_DEFAULT, STORE_PROP, STYLESHEET_PI, TRANSFORMER_DEFAULT, TRANSFORMER_PROP, VERSION, WHOLE_REQUEST, YEAR |
Constructor Summary | |
DummyProducer()
|
Method Summary | |
java.lang.String |
getPath(javax.servlet.http.HttpServletRequest request)
Returns the path where the resource is found, or an empty string if no path can be applied to the resource. |
java.lang.String |
getStatus()
Returns information about the status of the implementing class. |
java.io.Reader |
getStream(javax.servlet.http.HttpServletRequest request)
This method is responsible to provide an input stream to read the data generated or contained by the resource mapped by this document producer. |
Methods inherited from class org.apache.cocoon.producer.AbstractProducer |
getDocument, hasChanged, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DummyProducer()
Method Detail |
public java.io.Reader getStream(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
Producer
public java.lang.String getPath(javax.servlet.http.HttpServletRequest request)
Producer
public java.lang.String getStatus()
Status
toString()
method because some of these methods are declared final in some
classes in JDK 1.1.getStatus
in interface Status
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |