BEA WebLogic Server 9.1 API Reference
weblogic.wtc.jatmi
Class ViewHelper
java.lang.Object
weblogic.wtc.jatmi.ViewHelper
- public class ViewHelper
- extends Object
- Copyright © 2005 BEA Systems, Inc. All Rights Reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewHelper
public ViewHelper()
getInstance
public static ViewHelper getInstance()
newViewInstance
public TypedBuffer newViewInstance(String viewName)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
setViewClass
public void setViewClass(String viewName,
Class viewclass)
setViewClass
public void setViewClass(String viewName,
String className)
throws ClassNotFoundException
- To set view class
ViewHelper vinst = ViewHelper.getInstance();
try
{
vinst.setViewClass()
}
To instantiate
Object obj = ViewHelper.newInstance(viewName);
- Throws:
ClassNotFoundException