com.plotnix.jex.util
Class ValueUtils

java.lang.Object
  |
  +--com.plotnix.jex.util.ValueUtils

public class ValueUtils
extends java.lang.Object

Version:
$Revision: 1.4 $ $Date: 2002/04/28 04:31:13 $
Author:
Dmitri Plotnikov

Constructor Summary
ValueUtils()
           
 
Method Summary
static int getLength(java.lang.Object collection)
           
static java.lang.Object getValue(java.lang.Object collection, int index)
           
static boolean isCollection(java.lang.Object value)
           
static boolean isCollection(java.beans.PropertyDescriptor propertyDescriptor)
           
static boolean isCollection(java.beans.PropertyDescriptor propertyDescriptor, java.lang.Object value)
           
static java.util.Iterator iterate(java.lang.Object collection)
           
static void setValue(java.lang.Object collection, int index, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueUtils

public ValueUtils()
Method Detail

isCollection

public static boolean isCollection(java.beans.PropertyDescriptor propertyDescriptor)

isCollection

public static boolean isCollection(java.beans.PropertyDescriptor propertyDescriptor,
                                   java.lang.Object value)

isCollection

public static boolean isCollection(java.lang.Object value)

getLength

public static int getLength(java.lang.Object collection)

iterate

public static java.util.Iterator iterate(java.lang.Object collection)

getValue

public static java.lang.Object getValue(java.lang.Object collection,
                                        int index)

setValue

public static void setValue(java.lang.Object collection,
                            int index,
                            java.lang.Object value)


Copyright (c) 2002 - Plotnix, Inc