TagProcessorpublic class DummyTagProcessor extends java.lang.Object implements TagProcessor
| Constructor | Description |
|---|---|
DummyTagProcessor() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Element> |
content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
This method is called if there is text content encountered between the
opening and closing tags this TagProcessor is mapped to.
|
java.util.List<Element> |
endElement(WorkerContext ctx,
Tag tag,
java.util.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() |
|
java.util.List<Element> |
startElement(WorkerContext ctx,
Tag tag) |
This method is called when a tag has been encountered.
|
public java.util.List<Element> startElement(WorkerContext ctx, Tag tag)
TagProcessorstartElement in interface TagProcessorctx - the WorkerContexttag - the tag encounteredpublic java.util.List<Element> content(WorkerContext ctx, Tag tag, java.lang.String content)
TagProcessorcontent in interface TagProcessorctx - the WorkerContexttag - the tag encounteredcontent - the text content between the tags this TagProcessor is
mapped to.public java.util.List<Element> endElement(WorkerContext ctx, Tag tag, java.util.List<Element> currentContent)
TagProcessorendElement in interface TagProcessorctx - 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
.public boolean isStackOwner()
isStackOwner in interface TagProcessorCopyright © 1998–2018. All rights reserved.