org.apache.tapestry.internal.pageload
Class PageKey

java.lang.Object
  extended by org.apache.tapestry.internal.pageload.PageKey
All Implemented Interfaces:
Serializable

public class PageKey
extends Object
implements Serializable

Alterantive implementation of MultiKey that is specifically intended to be used to store and retrieve pages from a pool.

See Also:
Serialized Form

Constructor Summary
PageKey(String pageName, Locale locale)
          Constructs a new instance for the specified page / locale.
 
Method Summary
 boolean equals(Object o)
           
 String getPageName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageKey

public PageKey(String pageName,
               Locale locale)
Constructs a new instance for the specified page / locale.

Parameters:
pageName - The page.
locale - Locale of the page.
Method Detail

getPageName

public String getPageName()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.