org.acegisecurity
Class ConfigAttributeEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.acegisecurity.ConfigAttributeEditor
All Implemented Interfaces:
PropertyEditor

public class ConfigAttributeEditor
extends PropertyEditorSupport

A property editor that can create a populated ConfigAttributeDefinition from a comma separated list of values.

Trims preceding and trailing spaces from presented command separated tokens, as this can be a source of hard-to-spot configuration issues for end users.

Version:
$Id: ConfigAttributeEditor.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Constructor Summary
ConfigAttributeEditor()
           
 
Method Summary
 void setAsText(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

ConfigAttributeEditor

public ConfigAttributeEditor()
Method Detail

setAsText

public void setAsText(String s)
               throws IllegalArgumentException
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Throws:
IllegalArgumentException


Copyright © 2004-2009 Interface21, Inc. All Rights Reserved.