|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.lagarto.EmptyTagVisitor
jodd.decora.parser.PageRegionExtractor
public class PageRegionExtractor
Region extractor parses page and resolves regions for each decora tag.
| Field Summary | |
|---|---|
protected int |
currentRegions
Number of currently defined regions. |
protected DecoraTag[] |
decoraTags
|
| Constructor Summary | |
|---|---|
PageRegionExtractor(DecoraTag[] decoraTags)
|
|
| Method Summary | |
|---|---|
void |
end()
Invoked at the end, after all content is visited. |
void |
tag(Tag tag)
Invoked on tag (open, close or empty). |
| Methods inherited from class jodd.lagarto.EmptyTagVisitor |
|---|
cdata, comment, condComment, doctype, error, script, start, style, text, xml, xmp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DecoraTag[] decoraTags
protected int currentRegions
| Constructor Detail |
|---|
public PageRegionExtractor(DecoraTag[] decoraTags)
| Method Detail |
|---|
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()
TagVisitor
end in interface TagVisitorend in class EmptyTagVisitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||