wicket.markup.resolver
Class WicketLinkResolver

java.lang.Object
  extended by wicket.markup.resolver.WicketLinkResolver
All Implemented Interfaces:
java.io.Serializable, IComponentResolver

public class WicketLinkResolver
extends java.lang.Object
implements IComponentResolver

This is a tag resolver which handles <wicket:link> tags. Because autolinks are already detected and handled, the only task of this resolver will be to add a "transparent" WebMarkupContainer to transparently handling child components.

Author:
Juergen Donnerstag
See Also:
Serialized Form

Constructor Summary
WicketLinkResolver()
           
 
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

WicketLinkResolver

public WicketLinkResolver()
Method Detail

resolve

public 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.

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 componentId was handle by the resolver. False, otherwise
See Also:
IComponentResolver.resolve(MarkupContainer, MarkupStream, ComponentTag)


Copyright © 2004-2007 Wicket developers. All Rights Reserved.