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

Field Summary
static String CHILD
           
static String EXTEND
           
 
Constructor Summary
MarkupInheritanceResolver()
           
 
Method Summary
 Component 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
 

Field Detail

CHILD

public static final String CHILD
See Also:
Constant Field Values

EXTEND

public static final String EXTEND
See Also:
Constant Field Values
Constructor Detail

MarkupInheritanceResolver

public MarkupInheritanceResolver()
Method Detail

resolve

public Component 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:
null, if not found
See Also:
IComponentResolver.resolve(org.apache.wicket.MarkupContainer, org.apache.wicket.markup.MarkupStream, org.apache.wicket.markup.ComponentTag)


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