org.apache.wicket.markup.resolver
Interface AutoLinkResolver.IAutolinkResolverDelegate

All Known Implementing Classes:
AutoLinkResolver.AbstractAutolinkResolverDelegate
Enclosing class:
AutoLinkResolver

public static interface AutoLinkResolver.IAutolinkResolverDelegate

Interface to delegate the actual resolving of auto components to.


Method Summary
 Component newAutoComponent(MarkupContainer container, String autoId, AutoLinkResolver.PathInfo pathInfo)
          Returns a new auto component based on the pathInfo object.
 

Method Detail

newAutoComponent

Component newAutoComponent(MarkupContainer container,
                           String autoId,
                           AutoLinkResolver.PathInfo pathInfo)
Returns a new auto component based on the pathInfo object. The auto component must have the autoId assigned as it's id. Should return null in case the component could not be created as expected and the default resolving should take place.

Parameters:
container - the parent container
autoId - the automatically generated id for the auto component
pathInfo - the path info object that contains information about the link reference
Returns:
a new auto component or null in case this method couldn't resolve to a proper auto component


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