org.apache.wicket.request.mapper.mount
Class MountParameters
java.lang.Object
org.apache.wicket.request.mapper.mount.MountParameters
public class MountParameters
- extends java.lang.Object
A container for the placeholders (e.g. ${placeholder}) found in the mount segments
- Author:
- igor.vaynberg
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MountParameters
public MountParameters()
getValue
public final StringValue getValue(java.lang.String parameterName)
- Parameters:
parameterName
- the name of the placeholder
- Returns:
- a StringValue which contains either the actual value if there is a placeholder with
name
parameterName
or null
otherwise
setValue
public final void setValue(java.lang.String parameterName,
StringValue value)
- Sets new placeholder name/pair
- Parameters:
parameterName
- value
-
getParameterNames
public final java.util.Collection<java.lang.String> getParameterNames()
- Returns:
- an unmodifiable view of the parameters names
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.