org.zeroexchange.web.navigation.target.key
Class PageTargetKeyProvider

java.lang.Object
  extended by org.zeroexchange.web.navigation.target.key.PageTargetKeyProvider
All Implemented Interfaces:
DataProcessor, TargetKeyProvider<PageTarget>

public class PageTargetKeyProvider
extends Object
implements TargetKeyProvider<PageTarget>, DataProcessor

The simple implementation of the page key provider.

Author:
black

Constructor Summary
PageTargetKeyProvider()
           
 
Method Summary
 String getMenuLeafKey(PageTarget target)
          Returns the menu list key for the specified target.
 Class getProcessingClass()
          Returns root hierarchy current processor can operate
 String getTargetKey(PageTarget target)
          Returns the key for the specified target.
 void setKeyPrefix(String keyPrefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageTargetKeyProvider

public PageTargetKeyProvider()
Method Detail

setKeyPrefix

public void setKeyPrefix(String keyPrefix)

getProcessingClass

public Class getProcessingClass()
Description copied from interface: DataProcessor
Returns root hierarchy current processor can operate

Specified by:
getProcessingClass in interface DataProcessor

getTargetKey

public String getTargetKey(PageTarget target)
Returns the key for the specified target.

Specified by:
getTargetKey in interface TargetKeyProvider<PageTarget>

getMenuLeafKey

public String getMenuLeafKey(PageTarget target)
Returns the menu list key for the specified target.

Specified by:
getMenuLeafKey in interface TargetKeyProvider<PageTarget>


Copyright © 2013. All Rights Reserved.