org.apache.wicket.markup.resolver
Class MarkupInheritanceResolver

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

public class MarkupInheritanceResolver
extends Object
implements IComponentResolver

Detect <wicket:extend> and <wicket:child> tags, which are silently ignored, because they have already been processed.

Author:
Juergen Donnerstag
See Also:
Serialized Form

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

MarkupInheritanceResolver

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


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