org.apache.myfaces.trinidad.model
Interface XMLMenuModel.MenuContentHandler

Enclosing class:
XMLMenuModel

public static interface XMLMenuModel.MenuContentHandler


Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getIdNodeMap(java.lang.Object modelKey)
          Get the Model's idNodeMap
 java.util.Map<java.lang.Object,java.util.List<java.lang.Object>> getNodeFocusPathMap(java.lang.Object modelKey)
          Get the Model's nodeFocusPathMap
 TreeModel getTreeModel(java.lang.String uri)
          Get the TreeModel built while parsing metadata.
 java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getViewIdFocusPathMap(java.lang.Object modelKey)
          Get the Model's viewIdFocusPathMap
 void setModelUri(java.lang.String uri)
          Sets the local, sharedNode model's Uri on the ContentHandler so that the local model can be gotten to, if necessary.
 void setRootModelKey(java.lang.String key)
          Sets the root model's request map key on the ContentHandler so that the nodes can get back to their root model through the request map.
 

Method Detail

getTreeModel

TreeModel getTreeModel(java.lang.String uri)
Get the TreeModel built while parsing metadata.

Parameters:
uri - String mapkey to a (possibly) treeModel cached on the MenuContentHandlerImpl.
Returns:
TreeModel.

setRootModelKey

void setRootModelKey(java.lang.String key)
Sets the root model's request map key on the ContentHandler so that the nodes can get back to their root model through the request map.


setModelUri

void setModelUri(java.lang.String uri)
Sets the local, sharedNode model's Uri on the ContentHandler so that the local model can be gotten to, if necessary.


getIdNodeMap

java.util.Map<java.lang.String,java.lang.Object> getIdNodeMap(java.lang.Object modelKey)
Get the Model's idNodeMap

Returns:
the Model's idNodeMap

getNodeFocusPathMap

java.util.Map<java.lang.Object,java.util.List<java.lang.Object>> getNodeFocusPathMap(java.lang.Object modelKey)
Get the Model's nodeFocusPathMap

Returns:
the Model's nodeFocusPathMap

getViewIdFocusPathMap

java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getViewIdFocusPathMap(java.lang.Object modelKey)
Get the Model's viewIdFocusPathMap

Returns:
the Model's viewIdFocusPathMap


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.