Class ParentResolver

  extended by org.apache.wicket.markup.resolver.ParentResolver
All Implemented Interfaces:
Serializable, IClusterable, IComponentResolver

public class ParentResolver
extends Object
implements IComponentResolver

Some containers are transparent to the user (e.g. HtmlHeaderContainer or BodyOnLoadContainer) and delegate component resolution to there parent.

Juergen Donnerstag
See Also:
Serialized Form

Constructor Summary
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


public ParentResolver()
Method Detail


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.

Note: Special tags like <wicket:...>> and tags which id start with "_" are not resolved.

Specified by:
resolve in interface IComponentResolver
container - The container parsing its markup
markupStream - The current markupStream
tag - The current component tag while parsing the markup
True if component-id was handled by the resolver, false otherwise.
See Also:
IComponentResolver.resolve(MarkupContainer, MarkupStream, ComponentTag)

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