org.apache.wicket.markup.parser.filter
Class ConditionalCommentFilter
java.lang.Object
org.apache.wicket.markup.parser.AbstractMarkupFilter
org.apache.wicket.markup.parser.filter.ConditionalCommentFilter
- All Implemented Interfaces:
- IMarkupFilter
public class ConditionalCommentFilter
- extends AbstractMarkupFilter
Skip duplicated mismatched markup inside conditional comments
- Author:
- Pedro Santos, Juergen Donnerstag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalCommentFilter
public ConditionalCommentFilter()
onSpecialTag
protected MarkupElement onSpecialTag(HtmlSpecialTag tag)
throws ParseException
- Description copied from class:
AbstractMarkupFilter
- Invoked when a tags (e.g. DOCTYPE, PROCESSING_INSTRUCTIION, etc. which have been identified
as special tags by the xml parser.
- Overrides:
onSpecialTag
in class AbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
postProcess
public void postProcess(Markup markup)
- Post-process the markup if necessary
- Specified by:
postProcess
in interface IMarkupFilter
- Overrides:
postProcess
in class AbstractMarkupFilter
onComponentTag
protected MarkupElement onComponentTag(ComponentTag tag)
throws ParseException
- Noop
- Specified by:
onComponentTag
in class AbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.