org.jboss.util.propertyeditor
Class StringEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.jboss.util.propertyeditor.StringEditor
All Implemented Interfaces:
PropertyEditor

public class StringEditor
extends PropertyEditorSupport

A property editor for String. It is really a no-op but it is hoped to provide slightly better performance, by avoiding the continuous lookup/failure of a property editor for plain Strings within the org.jboss.util.propertyeditor package, before falling back to the jdk provided String editor.

Version:
$Revision: 1.1.2.2 $
Author:
Dimitris Andreadis

Constructor Summary
StringEditor()
           
 
Method Summary
 void setAsText(String text)
          Keep the provided String as is.
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringEditor

public StringEditor()
Method Detail

setAsText

public void setAsText(String text)
Keep the provided String as is.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.