|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public LivetextBatchModel
This is the tag processor API. When a match tag is found by the livetext service according to the configuration, the service will hand the all DOM nodes to the tag processor which matches the criteria. Each tag processor must implement this interface. Each processor must also provide a non-parameter constructor in addition to the processTag method. The non-parameter constructor is to ensure that the livetext service can create an instance of the implementation class without providing any more information.
Method Summary | |
---|---|
void |
processTag(DOMNode[] nodes,
ConfigEntry configEntry)
The entry point of a tag processor. |
void |
unprocessTag(DOMNode[] nodes)
The entry point of a tag processor (unchanging). |
Method Detail |
---|
void processTag(DOMNode[] nodes, ConfigEntry configEntry)
nodes
-
The livetext DOM nodes to be processed. Must not be null
.configEntry
-
The configuration enrty for the handler. This will be required in case we have one hanlder for multiple matching criteria null
.void unprocessTag(DOMNode[] nodes)
nodes
-
The livetext DOM node to be "unprocessed". Must not be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |