|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that must be implemented by all XSQL Action Element Handlers
Upon encountering an XSQL Action Element of the form <xsql:xxxx> in an XSQL page, the XSQL Page Processor invokes the associated XSQL Action Handler by:
NOTE: conn parameter can be null if no connection specified for the XSQL page being processed.
Method Summary | |
void |
handleAction(Node rootNode) Handle the action, typically by executing some code and appending new child DOM nodes to the rootNode. |
void |
init(XSQLPageRequest env, Element e) Initialize the Action Handler |
Method Detail |
public void init(XSQLPageRequest env, Element e)
env
- XSQLPageRequest objecte
- DOM element representing the Action Element being handledpublic void handleAction(Node rootNode) throws java.sql.SQLException
The XSQL Page Processor replaces the action element in the XSQL Page being processed with the document fragment of nodes that your handleAction method appends to the rootNode.
rootNode
- Root node of generated document fragmentjava.sql.SQLException
|
Oracle® Application Server XML Java API Reference 10g Release 3 (10.1.3) B28238-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |