org.openregistry.core.web.propertyeditors
Class AbstractRegExPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.openregistry.core.web.propertyeditors.AbstractRegExPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
PhoneEditor

public abstract class AbstractRegExPropertyEditor
extends java.beans.PropertyEditorSupport

Abstract class that all property editors doing regular expressions can extends.

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

Constructor Summary
protected AbstractRegExPropertyEditor(java.lang.String regExpression)
           
 
Method Summary
 void setAsText(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

AbstractRegExPropertyEditor

protected AbstractRegExPropertyEditor(java.lang.String regExpression)
Method Detail

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


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