类 XssStringEditor
java.lang.Object
java.beans.PropertyEditorSupport
cn.aradin.spring.webwall.starter.xss.editor.XssStringEditor
- 所有已实现的接口:
PropertyEditor,org.springframework.web.bind.support.WebBindingInitializer
public class XssStringEditor
extends PropertyEditorSupport
implements org.springframework.web.bind.support.WebBindingInitializer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Gets the property value as a string suitable for presentation to a human to edit.voidinitBinder(org.springframework.web.bind.WebDataBinder binder) voidSets the property value by parsing a given String.从类继承的方法 java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.web.bind.support.WebBindingInitializer
initBinder
-
构造器详细资料
-
XssStringEditor
public XssStringEditor()
-
-
方法详细资料
-
getAsText
Gets the property value as a string suitable for presentation to a human to edit.- 指定者:
getAsText在接口中PropertyEditor- 覆盖:
getAsText在类中PropertyEditorSupport- 返回:
- The property value as a string suitable for presentation to a human
to edit.
Returns null if the value can't be expressed as a string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
-
setAsText
Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.- 指定者:
setAsText在接口中PropertyEditor- 覆盖:
setAsText在类中PropertyEditorSupport- 参数:
text- The string to be parsed.- 抛出:
IllegalArgumentException
-
initBinder
public void initBinder(org.springframework.web.bind.WebDataBinder binder) - 指定者:
initBinder在接口中org.springframework.web.bind.support.WebBindingInitializer
-