org.openregistry.core.web.propertyeditors
Class AbstractReferenceRepositoryPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.openregistry.core.web.propertyeditors.AbstractReferenceRepositoryPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
CampusEditor, CountryEditor, OrganizationalUnitEditor, RegionEditor, SponsorEditor

public abstract class AbstractReferenceRepositoryPropertyEditor
extends java.beans.PropertyEditorSupport

Abstract class that supports the notion that a property editor will need access to the reference repository to obtain its information.

Since:
1.0.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Constructor Summary
protected AbstractReferenceRepositoryPropertyEditor(ReferenceRepository referenceRepository)
           
 
Method Summary
protected  ReferenceRepository getReferenceRepository()
           
 void setAsText(java.lang.String s)
           
protected abstract  void setAsTextInternal(java.lang.String s)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReferenceRepositoryPropertyEditor

protected AbstractReferenceRepositoryPropertyEditor(ReferenceRepository referenceRepository)
Method Detail

getReferenceRepository

protected ReferenceRepository getReferenceRepository()

setAsText

public final void setAsText(java.lang.String s)
                     throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException

setAsTextInternal

protected abstract void setAsTextInternal(java.lang.String s)


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