public class PageList.Page
extends java.lang.Object
Constructor and Description |
---|
Page(java.lang.String mapping,
java.lang.String name)
Constructor for the Page object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMapping()
Gets the mapping attribute of the Page object
|
java.lang.String |
getName()
Gets the name attribute of the Page object, defaulting to mapping
attribute if name is not defined.
|
java.lang.String |
toString()
Description of the Method
|
public Page(java.lang.String mapping, java.lang.String name)
mapping
- the key into the action mapping to display this pagename
- pretty name used for displaypublic java.lang.String getName()
public java.lang.String getMapping()
public java.lang.String toString()
toString
in class java.lang.Object