|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.configuration.impl.AttributeParser
abstract class AttributeParser
Base class for all attribute parsers.
| Constructor Summary | |
|---|---|
protected |
AttributeParser(java.lang.String key)
Creates a new parser for the specified attribute key. |
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Gets this parsers key. |
abstract void |
parse(java.lang.String value,
Configuration config,
ExceptionFactory factory)
Invoked to parse the specified value and place the result in the configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AttributeParser(java.lang.String key)
key - the attribute key.| Method Detail |
|---|
public abstract void parse(java.lang.String value,
Configuration config,
ExceptionFactory factory)
throws ParseException
value - the value to parse.config - the configuration object to update.factory - the exception factory to use.
ParseException - if there was an error parsing the value.public java.lang.String getKey()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||