org.apache.wicket.request.mapper.mount
Class MountParameters
java.lang.Object
org.apache.wicket.request.mapper.mount.MountParameters
public class MountParameters
- extends Object
A container for the placeholders (e.g. ${placeholder}) found in the mount segments
- Author:
- igor.vaynberg
MountParameters
public MountParameters()
getValue
public final StringValue getValue(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(String parameterName,
StringValue value)
- Sets new placeholder name/pair
- Parameters:
parameterName
- value
-
getParameterNames
public final Collection<String> getParameterNames()
- Returns:
- an unmodifiable view of the parameters names
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.