Module org.apache.wicket.core
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected final 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 Details
-
AbstractAutolinkResolverDelegate
public AbstractAutolinkResolverDelegate()
-
-
Method Details
-
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
-