org.apache.geronimo.common.propertyeditor
Class CollectionEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.apache.geronimo.common.propertyeditor.AbstractCollectionEditor
          extended byorg.apache.geronimo.common.propertyeditor.CollectionEditor
All Implemented Interfaces:
PropertyEditor

public class CollectionEditor
extends AbstractCollectionEditor

A property editor for Collection.

Version:
$Rev: 356022 $ $Date: 2005-12-11 21:58:34 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
CollectionEditor()
           
 
Method Summary
protected  Collection createCollection()
          Concrete subclasses should implement this method to create the correct type of collection.
 void setValue(Object value)
           
 
Methods inherited from class org.apache.geronimo.common.propertyeditor.AbstractCollectionEditor
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionEditor

public CollectionEditor()
Method Detail

createCollection

protected Collection createCollection()
Description copied from class: AbstractCollectionEditor
Concrete subclasses should implement this method to create the correct type of collection.

Specified by:
createCollection in class AbstractCollectionEditor
Returns:
an empty instance of the type of collection the subclass edits.

setValue

public void setValue(Object value)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.