org.apache.wicket.markup.resolver
Class ParentResolver
java.lang.Object
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.
- Author:
- Juergen Donnerstag
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentResolver
public ParentResolver()
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.
Note: Special tags like <wicket:...>> and tags which id start with "_" are not resolved.
- Specified by:
resolve
in interface IComponentResolver
- Parameters:
container
- The container parsing its markupmarkupStream
- The current markupStreamtag
- The current component tag while parsing the markup
- Returns:
- 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.