public abstract class AbstractComponentMapper
extends org.apache.wicket.request.mapper.AbstractMapper
implements org.apache.wicket.request.IRequestMapper
| Constructor and Description |
|---|
AbstractComponentMapper()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
cleanClassName(String className)
Cleans the class name from any extra information that may be there.
|
protected void |
encodePageComponentInfo(org.apache.wicket.request.Url url,
org.apache.wicket.request.mapper.info.PageComponentInfo info)
Encodes the
PageComponentInfo instance as the first query string parameter to the
URL. |
protected IMapperContext |
getContext() |
protected Class<? extends IRequestablePage> |
getPageClass(String name)
Loads page class with given name.
|
protected org.apache.wicket.request.mapper.info.PageComponentInfo |
getPageComponentInfo(org.apache.wicket.request.Url url)
Extracts the
PageComponentInfo from the URL. |
protected void |
removeMetaParameter(org.apache.wicket.request.Url urlCopy)
Removes the first query parameter only if
PageComponentInfo.parse(String) returns
non-null instance |
encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, resolveLocale, safeSegmentGetter, urlStartsWithprotected IMapperContext getContext()
protected org.apache.wicket.request.mapper.info.PageComponentInfo getPageComponentInfo(org.apache.wicket.request.Url url)
PageComponentInfo from the URL. The PageComponentInfo is encoded
as the very first query parameter and the parameter consists of name only (no value).url - null otherwise.protected void encodePageComponentInfo(org.apache.wicket.request.Url url,
org.apache.wicket.request.mapper.info.PageComponentInfo info)
PageComponentInfo instance as the first query string parameter to the
URL.url - info - protected Class<? extends IRequestablePage> getPageClass(String name)
name - protected String cleanClassName(String className)
className - The raw class name parsed from the urlprotected void removeMetaParameter(org.apache.wicket.request.Url urlCopy)
PageComponentInfo.parse(String) returns
non-null instanceremoveMetaParameter in class org.apache.wicket.request.mapper.AbstractMapperCopyright © 2006–2018 Apache Software Foundation. All rights reserved.