|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.cocoon.sitemap.InvocationImpl
public class InvocationImpl
| Nested Class Summary | |
|---|---|
class |
InvocationImpl.UnsupportedExpressionLanguageException
|
class |
InvocationImpl.VariableNotFoundException
|
| Constructor Summary | |
|---|---|
InvocationImpl()
|
|
InvocationImpl(OutputStream outputStream)
Create a InvocationImpl object using the given output stream. |
|
InvocationImpl(OutputStream outputStream,
String requestURI)
Create a InvocationImpl object using the given output stream and
requestURI. |
|
InvocationImpl(OutputStream outputStream,
String requestURI,
Map<String,Object> parameters)
Create a InvocationImpl object using the given output stream,
requestURI and parameters. |
|
| Method Summary | |
|---|---|
void |
execute()
|
OutputStream |
getOutputStream()
|
Object |
getParameter(String name)
|
Map<String,Object> |
getParameters()
|
String |
getRequestURI()
|
Throwable |
getThrowable()
|
boolean |
hasCompletePipeline()
|
void |
installAction(String type)
|
void |
installComponent(String type,
Map<String,? extends Object> componentParameters)
|
void |
installPipeline(String type,
Map<String,? extends Object> componentParameters)
|
boolean |
isErrorInvocation()
|
void |
popSitemapParameters()
|
void |
pushSitemapParameters(String nodeName,
Map<String,? extends Object> sitemapParameters)
|
void |
reset()
|
URL |
resolve(String resource)
|
String |
resolveParameter(String parameter)
|
void |
setBaseURL(URL baseURL)
|
void |
setComponentProvider(ComponentProvider componentProvider)
|
void |
setObjectModel(ObjectModel objectModel)
|
void |
setOutputStream(OutputStream outputStream)
|
void |
setParameters(Map<String,Object> parameters)
|
void |
setRequestURI(String requestURI)
|
void |
setThrowable(Throwable throwable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvocationImpl()
public InvocationImpl(OutputStream outputStream)
InvocationImpl object using the given output stream.
outputStream - The OutputStream where the result is written
to.
public InvocationImpl(OutputStream outputStream,
String requestURI)
InvocationImpl object using the given output stream and
requestURI.
outputStream - The OutputStream where the result is written
to.requestURI - The requested path.
public InvocationImpl(OutputStream outputStream,
String requestURI,
Map<String,Object> parameters)
InvocationImpl object using the given output stream,
requestURI and parameters.
outputStream - The OutputStream where the result is written
to.requestURI - The requested path.parameters - A Map of parameters that are used when the
pipeline is being executed.| Method Detail |
|---|
public void reset()
reset in interface InvocationInvocation.reset()
public void execute()
throws Exception
execute in interface InvocationExceptionInvocation.execute()public OutputStream getOutputStream()
getOutputStream in interface InvocationInvocation.getOutputStream()public Object getParameter(String name)
getParameter in interface InvocationInvocation.getParameter(java.lang.String)public Map<String,Object> getParameters()
getParameters in interface InvocationInvocation.getParameters()public String getRequestURI()
getRequestURI in interface InvocationInvocation.getRequestURI()public Throwable getThrowable()
getThrowable in interface InvocationInvocation.getThrowable()public boolean hasCompletePipeline()
hasCompletePipeline in interface InvocationInvocation.hasCompletePipeline()public void installAction(String type)
installAction in interface InvocationInvocation.installAction(java.lang.String)
public void installComponent(String type,
Map<String,? extends Object> componentParameters)
installComponent in interface InvocationInvocation.installComponent(java.lang.String,
java.util.Map)
public void installPipeline(String type,
Map<String,? extends Object> componentParameters)
installPipeline in interface InvocationInvocation.installPipeline(java.lang.String,
java.util.Map)public boolean isErrorInvocation()
isErrorInvocation in interface InvocationInvocation.isErrorInvocation()public void popSitemapParameters()
popSitemapParameters in interface InvocationInvocation.popSitemapParameters()
public void pushSitemapParameters(String nodeName,
Map<String,? extends Object> sitemapParameters)
pushSitemapParameters in interface InvocationInvocation.pushSitemapParameters(java.lang.String,
java.util.Map)public URL resolve(String resource)
resolve in interface InvocationInvocation.resolve(java.lang.String)public void setComponentProvider(ComponentProvider componentProvider)
public void setOutputStream(OutputStream outputStream)
setOutputStream in interface InvocationInvocation.setOutputStream(java.io.OutputStream)public void setParameters(Map<String,Object> parameters)
setParameters in interface InvocationInvocation.setParameters(java.util.Map)public void setRequestURI(String requestURI)
public void setThrowable(Throwable throwable)
setThrowable in interface InvocationInvocation.setThrowable(java.lang.Throwable)public String resolveParameter(String parameter)
resolveParameter in interface InvocationInvocation.resolveParameter(java.lang.String)public void setBaseURL(URL baseURL)
public void setObjectModel(ObjectModel objectModel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||