|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.parser.AbstractMarkupFilter org.apache.wicket.markup.parser.filter.StyleAndScriptIdentifier
public final class StyleAndScriptIdentifier
An IMarkupFilter that wraps the body of all <style> elements and <script> elements which are plain JavaScript in CDATA blocks. This allows the user application to use unescaped XML characters without caring that those may break Wicket's XML Ajax response.
Constructor Summary | |
---|---|
StyleAndScriptIdentifier()
Constructor. |
Method Summary | |
---|---|
protected MarkupElement |
onComponentTag(ComponentTag tag)
Invoked when a ComponentTag was found. |
void |
postProcess(Markup markup)
Called after all filters have been processed. |
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter |
---|
getMarkupResourceStream, getNextFilter, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, setNextFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleAndScriptIdentifier()
Method Detail |
---|
protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException
AbstractMarkupFilter
By default this method is also called for WicketTags.
onComponentTag
in class AbstractMarkupFilter
ParseException
public void postProcess(Markup markup)
IMarkupFilter
postProcess
in interface IMarkupFilter
postProcess
in class AbstractMarkupFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |