Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.intercept.web
Class FilterInvocationDefinitionSourceEditor  view FilterInvocationDefinitionSourceEditor download FilterInvocationDefinitionSourceEditor.java

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.acegisecurity.intercept.web.FilterInvocationDefinitionSourceEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class FilterInvocationDefinitionSourceEditor
extends java.beans.PropertyEditorSupport

Property editor to assist with the setup of a FilterInvocationDefinitionSource.

The class creates and populates a RegExpBasedFilterInvocationDefinitionMap or PathBasedFilterInvocationDefinitionMap (depending on the type of patterns presented).

By default the class treats presented patterns as regular expressions. If the keyword PATTERN_TYPE_APACHE_ANT is present (case sensitive), patterns will be treated as Apache Ant paths rather than regular expressions.

Version:
$Id: FilterInvocationDefinitionSourceEditor.java,v 1.3 2005/11/17 00:55:50 benalex Exp $

Field Summary
private static org.apache.commons.logging.Log logger
           
 
Fields inherited from class java.beans.PropertyEditorSupport
 
Constructor Summary
FilterInvocationDefinitionSourceEditor()
           
 
Method Summary
 void setAsText(java.lang.String s)
          Sets the value as text.
 
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
 

Field Detail

logger

private static final org.apache.commons.logging.Log logger
Constructor Detail

FilterInvocationDefinitionSourceEditor

public FilterInvocationDefinitionSourceEditor()
Method Detail

setAsText

public void setAsText(java.lang.String s)
               throws java.lang.IllegalArgumentException
Description copied from class: java.beans.PropertyEditorSupport
Sets the value as text. In this class, you cannot count on setAsText() doing anything useful across implementations. Implementation Note: In this implementation it checks if the String is "null", and if it is, sets the value to null, otherwise it throws an IllegalArgumentException.