org.jboss.portal.common.path
Interface PathMapperContext


public interface PathMapperContext

Interface that provide access to objects that are mapped to pathes.

Version:
$Revision: 5448 $
Author:
Julien Viet

Method Summary
 java.lang.Object getChild(java.lang.Object parent, java.lang.String name)
          Return the child object having the specified name or null if it does not exists.
 java.lang.Object getRoot()
          Returns the object graph root.
 

Method Detail

getRoot

java.lang.Object getRoot()
Returns the object graph root.

Returns:
the root object

getChild

java.lang.Object getChild(java.lang.Object parent,
                          java.lang.String name)
Return the child object having the specified name or null if it does not exists.

Returns:
the child of the parent object matching the specifed name