org.openregistry.core.web.propertyeditors
Class CountryEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.openregistry.core.web.propertyeditors.AbstractReferenceRepositoryPropertyEditor
          extended by org.openregistry.core.web.propertyeditors.CountryEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public final class CountryEditor
extends AbstractReferenceRepositoryPropertyEditor

Converts the numerical identifier for a country into the country object.

Since:
1.0.0
Version:
$Revision$ $Date$
Author:
Nancy Mond, Scott Battaglia

Constructor Summary
CountryEditor(ReferenceRepository referenceRepository)
           
 
Method Summary
 java.lang.String getAsText()
           
protected  void setAsTextInternal(java.lang.String s)
           
 
Methods inherited from class org.openregistry.core.web.propertyeditors.AbstractReferenceRepositoryPropertyEditor
getReferenceRepository, setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryEditor

public CountryEditor(ReferenceRepository referenceRepository)
Method Detail

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setAsTextInternal

protected void setAsTextInternal(java.lang.String s)
Specified by:
setAsTextInternal in class AbstractReferenceRepositoryPropertyEditor


Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.