|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public CallbackModel
This API defines the various callback functions for livetext services. These callback functions should be provided by event publisher.
Method Summary | |
---|---|
void |
preProcessCallbackFunc(DOMNode domNode,
Object[] livetextList,
Object tagEntry)
The callback function which should be provided to livetext service by the event publisher. |
void |
postProcessCallbackFunc(DOMNode domNode,
Object[] livetextList,
Object[] errors,
Object tagEntry)
The callback function which should be provided to livetext service by the event publisher. |
Method Detail |
---|
void preProcessCallbackFunc(DOMNode domNode, Object[] livetextList, Object tagEntry)
domNode
-
The DOM node whose decendent nodes to be parsed and processed. May be null
.livetextList
-
The list of the live text which will be processed. May be null
.tagEntry
-
The JSON object of the current tag entry used to match and process the returned nodes. Is never null
.void postProcessCallbackFunc(DOMNode domNode, Object[] livetextList, Object[] errors, Object tagEntry)
domNode
-
The DOM node whose decendent nodes to be parsed and processed. May be null
.livetextList
-
The list of the live text which will be processed. May be null
.errors
-
The list of the exceptions occurred during the parsing and node handling process. If there is no error, an empty array should be provided. May be null
.tagEntry
-
The JSON object of the current tag entry used to match and process the returned nodes. Is never null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |