org.apache.wicket.markup.resolver
Class EnclosureResolver

java.lang.Object
  extended by org.apache.wicket.markup.resolver.EnclosureResolver
All Implemented Interfaces:
Serializable, IClusterable, IComponentResolver

public class EnclosureResolver
extends Object
implements IComponentResolver

This is a tag resolver which automatically adds a Enclosure container for each <wicket:enclosure> tag.

Author:
Juergen Donnerstag
See Also:
EnclosureHandler, Enclosure, Serialized Form

Constructor Summary
EnclosureResolver()
           
 
Method Summary
 boolean resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
          Try to resolve the tag, then create a component, add it to the container and render it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnclosureResolver

public EnclosureResolver()
Method Detail

resolve

public boolean resolve(MarkupContainer container,
                       MarkupStream markupStream,
                       ComponentTag tag)
Description copied from interface: IComponentResolver
Try to resolve the tag, then create a component, add it to the container and render it.

Specified by:
resolve in interface IComponentResolver
Parameters:
container - The container parsing its markup
markupStream - The current markupStream
tag - The current component tag while parsing the markup
Returns:
True if component-id was handled by the resolver, false otherwise.


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