|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.request.mapper.AbstractMapper
org.apache.wicket.core.request.mapper.AbstractComponentMapper
public abstract class AbstractComponentMapper
Convenience class for implementing page/components related encoders.
| Constructor Summary | |
|---|---|
AbstractComponentMapper()
Construct. |
|
| Method Summary | |
|---|---|
protected void |
encodePageComponentInfo(Url url,
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 PageComponentInfo |
getPageComponentInfo(Url url)
Extracts the PageComponentInfo from the URL. |
protected void |
removeMetaParameter(Url urlCopy)
Removes the first query parameter only if PageComponentInfo.parse(String) returns
non-null instance |
protected RequestListenerInterface |
requestListenerInterfaceFromString(String interfaceName)
Creates listener interface from the specified string |
protected String |
requestListenerInterfaceToString(RequestListenerInterface listenerInterface)
Converts the specified listener interface to String. |
| Methods inherited from class org.apache.wicket.request.mapper.AbstractMapper |
|---|
encodePageParameters, extractPageParameters, getMountSegments, getOptionalPlaceholder, getPlaceholder, getPlaceholder, urlStartsWith |
| 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.request.IRequestMapper |
|---|
getCompatibilityScore, mapHandler, mapRequest |
| Constructor Detail |
|---|
public AbstractComponentMapper()
| Method Detail |
|---|
protected IMapperContext getContext()
protected String requestListenerInterfaceToString(RequestListenerInterface listenerInterface)
listenerInterface -
protected RequestListenerInterface requestListenerInterfaceFromString(String interfaceName)
interfaceName -
protected PageComponentInfo getPageComponentInfo(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(Url url,
PageComponentInfo info)
PageComponentInfo instance as the first query string parameter to the
URL.
url - info - protected Class<? extends IRequestablePage> getPageClass(String name)
name -
protected void removeMetaParameter(Url urlCopy)
PageComponentInfo.parse(String) returns
non-null instance
removeMetaParameter in class AbstractMapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||