|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMarkupFilter
Wicket uses a streaming XML parser to read the markup. A chain of IMarkupFilters is used e.g. to remove comments, allow for html typical markup (some tags don't need to be closed explicitly), etc.
MarkupParser,
MarkupFactory| Method Summary | |
|---|---|
IMarkupFilter |
getNextFilter()
IMarkupFilters are usually chained with the last filter retrieving the elements from the XML parser. |
MarkupElement |
nextElement()
Get the next MarkupElement from the parent MarkupFilter and handle it if the specific filter criteria are met. |
void |
postProcess(Markup markup)
Called after all filters have been processed. |
void |
setNextFilter(IMarkupFilter parent)
Set parent filter. |
| Method Detail |
|---|
IMarkupFilter getNextFilter()
void setNextFilter(IMarkupFilter parent)
parent - The next element in the chain
MarkupElement nextElement()
throws ParseException
ParseExceptionvoid postProcess(Markup markup)
markup -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||