Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.pietschy.command.configuration.impl
Class StringAttributeParser

    java.lang.Object
      com.pietschy.command.configuration.impl.AttributeParser
          com.pietschy.command.configuration.impl.StringAttributeParser

     class StringAttributeParser

extends AttributeParser

Parsers string attribute values on commands and groups.

Constructor Summary
`StringAttributeParser(java.lang.String propertyName)`

Method Summary
`void` | `parse(java.lang.String value, Configuration config, ExceptionFactory factory)` Updates the configuration with the specified value.

Methods inherited from class com.pietschy.command.configuration.impl.AttributeParser
`getKey`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StringAttributeParser

    public StringAttributeParser(java.lang.String propertyName)

Method Detail

### parse

    public void parse(java.lang.String value,
                      Configuration config,
                      ExceptionFactory factory)
               throws ParseException

  Updates the configuration with the specified value.

  Specified by:
    `parse` in class `AttributeParser`
  Parameters:
    `value` - the value to configure.
    `config` - the configuration instance.
    `factory` - the exception factory.
  Throws:
    `ParseException` - if there was an error parsing the value.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 - 2007 Andrew Pietsch