KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > impl > invocation > MappingContext


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under LGPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portal.core.impl.invocation;
12
13 /**
14  * Interface that provide access to portal object during a mapping request.
15  *
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.1 $
18  */

19 public interface MappingContext
20 {
21    /**
22     * Return the object graph root.
23     */

24    Object JavaDoc getRoot();
25
26    /**
27     * Return the child object having the specified name or null if it does not exists.
28     */

29    Object JavaDoc getChild(Object JavaDoc parent, String JavaDoc name);
30 }
31
Popular Tags