org.apache.wicket.markup.parser.filter
Class ConditionalCommentFilter

java.lang.Object
  extended by org.apache.wicket.markup.parser.AbstractMarkupFilter
      extended by 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

Constructor Summary
ConditionalCommentFilter()
           
 
Method Summary
protected  MarkupElement onComponentTag(ComponentTag tag)
          Noop
protected  MarkupElement onSpecialTag(HtmlSpecialTag tag)
          Invoked when a tags (e.g.
 void postProcess(Markup markup)
          Post-process the markup if necessary
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getNextFilter, nextElement, setNextFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalCommentFilter

public ConditionalCommentFilter()
Method Detail

onSpecialTag

protected MarkupElement onSpecialTag(HtmlSpecialTag tag)
                              throws java.text.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:
java.text.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 java.text.ParseException
Noop

Specified by:
onComponentTag in class AbstractMarkupFilter
Returns:
Usually the same as the tag attribute
Throws:
java.text.ParseException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.