public class PageRegionExtractor extends EmptyTagVisitor
| Modifier and Type | Class and Description |
|---|---|
static class |
PageRegionExtractor.RegionMarker
Region marker for founded, and not yet closed regions.
|
| Modifier and Type | Field and Description |
|---|---|
protected DecoraTag[] |
decoraTags |
protected java.util.LinkedList<PageRegionExtractor.RegionMarker> |
regionMarkers
Decora tags of current regions.
|
| Constructor and Description |
|---|
PageRegionExtractor(DecoraTag[] decoraTags) |
| Modifier and Type | Method and Description |
|---|---|
void |
end()
Invoked at the end, after all content is visited.
|
void |
tag(Tag tag)
Invoked on
tag (open, close or empty). |
cdata, comment, condComment, doctype, error, script, start, text, xmlprotected final DecoraTag[] decoraTags
protected java.util.LinkedList<PageRegionExtractor.RegionMarker> regionMarkers
public PageRegionExtractor(DecoraTag[] decoraTags)
public void tag(Tag tag)
TagVisitortag (open, close or empty).
Warning: the passed tag instance should not be kept beyond this method as the parser reuse it!
tag in interface TagVisitortag in class EmptyTagVisitorpublic void end()
TagVisitorend in interface TagVisitorend in class EmptyTagVisitorCopyright © 2003-present Jodd Team