Spring Security Framework

org.springframework.security
Class ConfigAttributeEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.springframework.security.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$
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

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.