org.apache.wicket.markup.resolver
Class MarkupInheritanceResolver

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

public class MarkupInheritanceResolver
extends java.lang.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 java.lang.String CHILD
           
static java.lang.String EXTEND
           
 
Constructor Summary
MarkupInheritanceResolver()
           
 
Method Summary
 Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
          Try to resolve a component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHILD

public static final java.lang.String CHILD
See Also:
Constant Field Values

EXTEND

public static final java.lang.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 a component.

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


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