|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractChibaAdapter
org.enhydra.util.chiba.BaseAdapter
org.enhydra.util.chiba.ScriptAdapter
public class ScriptAdapter
Adapter for processing DWR calls and building appropriate responses. This class is not exposed through DWR. Instead a Facadeclass 'FluxFacade' will be exposed that only allows to use the dispatch method. All other methods will be hidden for security.
Field Summary |
---|
Fields inherited from class org.enhydra.util.chiba.BaseAdapter |
---|
clean |
Constructor Summary | |
---|---|
ScriptAdapter()
|
Method Summary | |
---|---|
void |
dispatch(ChibaEvent event)
Dispatch a ChibaEvent to trigger some XForms processing such as updating of values or execution of triggers. |
protected java.lang.String |
escape(java.lang.String string)
|
protected HttpRequestHandler |
getNewInteractionHandler()
return a new InteractionHandler. |
void |
handleEvent(org.w3c.dom.events.Event event)
listen to processor and add a DefaultChibaEventImpl object to the EventQueue. |
void |
init()
initialize the Adapter. |
void |
setContext(java.util.Map contextParams)
passes Map containing arbitrary context parameters to the Adapter. |
void |
setUploadDestination(java.lang.String destination)
set the upload location. |
void |
shutdown()
terminates the XForms processing. |
Methods inherited from class org.enhydra.util.chiba.BaseAdapter |
---|
isClean, setClean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptAdapter()
Method Detail |
---|
public void init() throws XFormsException
org.chiba.xml.xforms.exception.XFormsException
XFormsException
public void dispatch(ChibaEvent event) throws XFormsException
event
- an application specific event
org.chiba.xml.xforms.exception.XFormsException
XFormsException
org.chiba.adapter.DefaultChibaEventImpl
public void handleEvent(org.w3c.dom.events.Event event)
handleEvent
in interface org.w3c.dom.events.EventListener
event
- the handled DOMEventpublic void shutdown() throws XFormsException
org.chiba.xml.xforms.exception.XFormsException
XFormsException
public void setUploadDestination(java.lang.String destination)
destination
- a String representing the location where to store
uploaded files/data.protected java.lang.String escape(java.lang.String string)
protected HttpRequestHandler getNewInteractionHandler() throws XFormsException
XFormsException
public void setContext(java.util.Map contextParams)
contextParams
- Map of arbitrary params passed to the processor
|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |