Class RichTextValidator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.runtime.parameter.DefaultValidator
org.ametys.plugins.core.parameter.TextValidator
org.ametys.plugins.core.parameter.RichTextValidator
- All Implemented Interfaces:
Validator
,PluginAware
,Configurable
,LogEnabled
,Serviceable
A TextValidator where tags are removed from the text (to count chars for example)
-
Field Summary
Fields inherited from class org.ametys.plugins.core.parameter.TextValidator
_maxLength
Fields inherited from class org.ametys.runtime.parameter.DefaultValidator
_invalidText, _isMandatory, _pluginName, _regexp, _smanager
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.plugins.core.parameter.TextValidator
configure, getConfiguration, validateArrayValues, validateSingleValue
Methods inherited from class org.ametys.runtime.parameter.DefaultValidator
equals, hashCode, service, setPluginInfo, validate
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
RichTextValidator
public RichTextValidator()
-
-
Method Details
-
getText
Description copied from class:TextValidator
Get the text- Overrides:
getText
in classTextValidator
- Parameters:
value
- The value to convert to text- Returns:
- the value converted
-