Class AutoLinkResolver.AbstractAutolinkResolverDelegate
- java.lang.Object
-
- org.apache.wicket.markup.resolver.AutoLinkResolver.AbstractAutolinkResolverDelegate
-
- All Implemented Interfaces:
AutoLinkResolver.IAutolinkResolverDelegate
- Enclosing class:
- AutoLinkResolver
public abstract static class AutoLinkResolver.AbstractAutolinkResolverDelegate extends Object implements AutoLinkResolver.IAutolinkResolverDelegate
Abstract implementation that has a helper method for creating a resource reference.
-
-
Constructor Summary
Constructors Constructor Description AbstractAutolinkResolverDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Component
newPackageResourceReferenceAutoComponent(String autoId, AutoLinkResolver.PathInfo pathInfo, String attribute)
Creates a new auto component that references a package resource.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.markup.resolver.AutoLinkResolver.IAutolinkResolverDelegate
newAutoComponent
-
-
-
-
Constructor Detail
-
AbstractAutolinkResolverDelegate
public AbstractAutolinkResolverDelegate()
-
-
Method Detail
-
newPackageResourceReferenceAutoComponent
protected final Component newPackageResourceReferenceAutoComponent(String autoId, AutoLinkResolver.PathInfo pathInfo, String attribute)
Creates a new auto component that references a package resource.- Parameters:
autoId
- the automatically generated id for the auto componentpathInfo
- the path info object that contains information about the link referenceattribute
- the attribute to replace the value of- Returns:
- a new auto component or null if the path was absolute
-
-