oracle.adf.view.faces.model
Class ModelUtils

java.lang.Object
  |
  +--oracle.adf.view.faces.model.ModelUtils

public final class ModelUtils
extends java.lang.Object

Provides convenience methods for converting objects into models.


Method Summary
static CollectionModel toCollectionModel(java.lang.Object value)
          Converts an instance into a CollectionModel
static TreeModel toTreeModel(java.lang.Object value)
          Converts an instance into a TreeModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toTreeModel

public static TreeModel toTreeModel(java.lang.Object value)
Converts an instance into a TreeModel


toCollectionModel

public static CollectionModel toCollectionModel(java.lang.Object value)
Converts an instance into a CollectionModel

Parameters:
value - This can be a DataModel, List, Array or other CollectionModel.


Copyright © 2003-2004 Oracle Corporation. All Rights Reserved.