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

## com.thaiopensource.validate
Interface Option

All Known Implementing Classes:
  FlagOption, StringOption

public interface Option

Method Summary
`java.lang.Object` | `combine(java.lang.Object[] values)` Combines multiple values of an option into a single value.
`PropertyId` | `getPropertyId()`
`java.lang.Object` | `valueOf(java.lang.String arg)`

Method Detail

### getPropertyId

    public PropertyId getPropertyId()

### valueOf

    public java.lang.Object valueOf(java.lang.String arg)
                             throws OptionArgumentException

  Throws:
    `OptionArgumentException`

### combine

    public java.lang.Object combine(java.lang.Object[] values)

  Combines multiple values of an option into a single value. A property whose value is logically a sequence may be represented by multiple options each representing a single member of the sequence.

  Parameters:
    `values` - an array of values to be combined
  Returns:
    an Object representing the combination, or `null` if they cannot be combined

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

© Copyright SyncRO Soft SRL 2006-2007.