Interface that is used to implement delayed page linking. The getPage() method returns an instance of Page when a link is actually clicked (thus avoiding the need to create a destination Page object for every link on a given Page in advance). The getPageIdentity() method returns the subclass of Page that getPage() will return if and when it is called.
This way of arranging things is useful in determining whether a link links to a given page, which is in turn useful for deciding how to display the link (because links in a navigation which link to a page itself are not useful and generally should instead indicate where the user is in the navigation).
To understand how getPageIdentity() is used in this way, take a look at the Link.linksTo() method and its override in PageLink. Also, see the documentation for getPageIdentity() below.
@see Link#linksTo(Page)
@author Jonathan Locke
@deprecated Use {@link org.apache.wicket.core.request.handler.PageProvider}