当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
MapperTestCase.MappingContextImpl - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.core
Class MapperTestCase.MappingContextImpl
java.lang.Object
org.jboss.portal.test.core.MapperTestCase.Context
org.jboss.portal.test.core.MapperTestCase.MappingContextImpl
- All Implemented Interfaces:
- MappingContext
- Enclosing class:
- MapperTestCase
- private static class MapperTestCase.MappingContextImpl
- extends MapperTestCase.Context
- implements MappingContext
Method Summary |
void |
addChild(java.lang.String name,
java.lang.Object child)
|
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()
Return the object graph root. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapperTestCase.MappingContextImpl
public MapperTestCase.MappingContextImpl(java.lang.Object dflt)
getRoot
public java.lang.Object getRoot()
- Description copied from interface:
MappingContext
- Return the object graph root.
- Specified by:
getRoot
in interface MappingContext
getChild
public java.lang.Object getChild(java.lang.Object parent,
java.lang.String name)
- Description copied from interface:
MappingContext
- Return the child object having the specified name or null if it does not exists.
- Specified by:
getChild
in interface MappingContext
addChild
public void addChild(java.lang.String name,
java.lang.Object child)