org.springmodules.validation.bean.context.web
Class ValidationContextUrlMappingArrayPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springmodules.validation.bean.context.web.ValidationContextUrlMappingArrayPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class ValidationContextUrlMappingArrayPropertyEditor
- extends PropertyEditorSupport
A property editor for the ValidationContextUrlMapping
class.
This editor expects text in the following format:
url_pattern=context1,context2,...,contextN
Where url_pattern is the URL pattern to be mapped to the context tokens and
context1,context2,...,contextN is the comma-separated list of validation context tokens.
- Author:
- Uri Boness
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, 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 |
ValidationContextUrlMappingArrayPropertyEditor
public ValidationContextUrlMappingArrayPropertyEditor()
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 2009. All Rights Reserved.