com.arsdigita.util.parameter
Class CompoundParameterReader
java.lang.Object
com.arsdigita.util.parameter.CompoundParameterReader
- All Implemented Interfaces:
- ParameterReader
- public class CompoundParameterReader
- extends Object
- implements ParameterReader
Subject to change.
Aggregates a set of ParameterReaders
so they may be
treated as one.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/util/parameter/CompoundParameterReader.java#5 $
- Author:
- Rafael H. Schloming <rhs@mit.edu>, Justin Ross <jross@redhat.com>
- See Also:
ParameterReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
CompoundParameterReader
public CompoundParameterReader()
- Constructs a new compound parameter reader.
add
public void add(ParameterReader reader)
- Adds
reader
to the set of component readers.
- Parameters:
reader
- The ParameterReader
being added; it
cannot be null
read
public String read(Parameter param,
ErrorList errors)
- Description copied from interface:
ParameterReader
- Reads an encoded
String
value for
param
from storage. If there are errors, they are
added to errors
.
- Specified by:
read
in interface ParameterReader
- Parameters:
param
- The Parameter
being read; it cannot
be nullerrors
- The ErrorList
that will collect any
errors; it cannot be null
- Returns:
- The marshaled
String
value for
param
; it may be null - See Also:
ParameterReader.read(Parameter,ErrorList)
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC