站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

MapperTestCase.MappingContextImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.core
Class MapperTestCase.MappingContextImpl

java.lang.Object
  extended byorg.jboss.portal.test.core.MapperTestCase.Context
      extended byorg.jboss.portal.test.core.MapperTestCase.MappingContextImpl
All Implemented Interfaces:
MappingContext
Enclosing class:
MapperTestCase

private static class MapperTestCase.MappingContextImpl
extends MapperTestCase.Context
implements MappingContext


Constructor Summary
MapperTestCase.MappingContextImpl(java.lang.Object dflt)
           
 
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
 

Constructor Detail

MapperTestCase.MappingContextImpl

public MapperTestCase.MappingContextImpl(java.lang.Object dflt)
Method Detail

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)