BEA Systems, Inc.

weblogic.wtc.jatmi
Class ViewHelper

java.lang.Object
  extended by weblogic.wtc.jatmi.ViewHelper

public class ViewHelper
extends Object


Constructor Summary
ViewHelper()
           
 
Method Summary
static ViewHelper getInstance()
           
 TypedBuffer newViewInstance(String viewName)
           
 void setViewClass(String viewName, Class viewclass)
           
 void setViewClass(String viewName, String className)
          To set view class ViewHelper vinst = ViewHelper.getInstance(); try { vinst.setViewClass() } To instantiate Object obj = ViewHelper.newInstance(viewName);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewHelper

public ViewHelper()
Method Detail

getInstance

public static ViewHelper getInstance()

newViewInstance

public TypedBuffer newViewInstance(String viewName)
                            throws InstantiationException,
                                   IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

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

setViewClass

public void setViewClass(String viewName,
                         Class viewclass)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.