org.apache.wicket.markup.html.form
Class AutoLabelTagHandler

java.lang.Object
  extended by org.apache.wicket.markup.parser.AbstractMarkupFilter
      extended by org.apache.wicket.markup.html.form.AutoLabelTagHandler
All Implemented Interfaces:
IMarkupFilter

public class AutoLabelTagHandler
extends AbstractMarkupFilter

Markup filter that identifies tags with the wicket:for attribute. See AutoLabelResolver for details.

Author:
igor

Constructor Summary
AutoLabelTagHandler()
          Deprecated. Use #AutoLabelResolver(MarkupResourceStream) instead
AutoLabelTagHandler(MarkupResourceStream resourceStream)
           
 
Method Summary
protected  MarkupElement onComponentTag(ComponentTag tag)
          Invoked when a ComponentTag was found.
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getMarkupResourceStream, getNextFilter, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoLabelTagHandler

@Deprecated
public AutoLabelTagHandler()
Deprecated. Use #AutoLabelResolver(MarkupResourceStream) instead

Constructor.


AutoLabelTagHandler

public AutoLabelTagHandler(MarkupResourceStream resourceStream)
Method Detail

onComponentTag

protected MarkupElement onComponentTag(ComponentTag tag)
                                throws ParseException
Description copied from class: AbstractMarkupFilter
Invoked when a ComponentTag was found.

By default this method is also called for WicketTags.

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


Copyright © 2006–2016 Apache Software Foundation. All rights reserved.