|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TagProcessor
| Method Summary | |
|---|---|
List<Element> |
content(WorkerContext ctx,
Tag tag,
String content)
This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to. |
List<Element> |
endElement(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
This method is called when a closing tag has been encountered of the TagProcessor implementation that is mapped to the tag. |
boolean |
isStackOwner()
|
List<Element> |
startElement(WorkerContext ctx,
Tag tag)
This method is called when a tag has been encountered. |
| Method Detail |
|---|
List<Element> startElement(WorkerContext ctx,
Tag tag)
ctx - the WorkerContexttag - the tag encountered
List<Element> content(WorkerContext ctx,
Tag tag,
String content)
ctx - the WorkerContexttag - the tag encounteredcontent - the text content between the tags this TagProcessor is
mapped to.
List<Element> endElement(WorkerContext ctx,
Tag tag,
List<Element> currentContent)
ctx - the WorkerContexttag - the tag encounteredcurrentContent - a list of content possibly created by TagProcessing
of inner tags, and by startElement and
content methods of this TagProcessor
.
boolean isStackOwner()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||