com.basistech.util
Class ISO15924Editor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by com.basistech.util.ISO15924Editor
All Implemented Interfaces:
PropertyEditor

public class ISO15924Editor
extends PropertyEditorSupport

This class provides notational convenience for users of the Spring IoC container, or any other facility that participates in the java.beans property editor discipline. JavaBeans automatically discovers PropertyEditor classes if they are in the same package as the class they handle, and have the same name but with an 'Editor' suffix. This class turns a String value into a valid value for a property of type ISO15924. The string is converted via the function ISO15924.lookupByCode4(java.lang.String).


Constructor Summary
ISO15924Editor()
           
 
Method Summary
 void setAsText(String text)
          
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO15924Editor

public ISO15924Editor()
Method Detail

setAsText

public void setAsText(String text)
               throws IllegalArgumentException

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Throws:
IllegalArgumentException


Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.