Package org.w3c.tidy
Interface ParseProperty
public interface ParseProperty
Interface for configuration property parser.
- Version:
- $Revision $ ($Author $)
- Author:
- Fabrizio Giustina
-
Method Summary
Modifier and TypeMethodDescriptiongetFriendlyName
(String option, Object value, Configuration configuration) Returns the "friendly name" for the passed value.Returns the valid values.getType()
Returns the option type.parse
(String value, String option, Configuration configuration) Parse a configuration option.
-
Method Details
-
parse
Parse a configuration option.- Parameters:
value
- option valueoption
- option nameconfiguration
- actual configuration instance- Returns:
- parsed configuration value
-
getType
String getType()Returns the option type.- Returns:
- option type
-
getOptionValues
String getOptionValues()Returns the valid values.- Returns:
- valid values (text)
-
getFriendlyName
Returns the "friendly name" for the passed value. Needed to print actual configuration setting.- Parameters:
option
- option namevalue
- actual valueconfiguration
- actual configuration- Returns:
- "friendly" actual value
-