com.arsdigita.util
Class AliasedClassParameter

java.lang.Object
  extended bycom.arsdigita.util.parameter.AbstractParameter
      extended bycom.arsdigita.util.parameter.ClassParameter
          extended bycom.arsdigita.util.AliasedClassParameter
All Implemented Interfaces:
Parameter

public class AliasedClassParameter
extends ClassParameter


Field Summary
 
Fields inherited from class com.arsdigita.util.parameter.ClassParameter
versionId
 
Fields inherited from interface com.arsdigita.util.parameter.Parameter
OPTIONAL, REQUIRED
 
Constructor Summary
AliasedClassParameter(String name, int multiplicity, Object defaalt)
           
 
Method Summary
 void addAlias(String alias, String className)
           
protected  Object unmarshal(String value, ErrorList errors)
          Converts a literal String value, value, to a Java object, which is returned.
 
Methods inherited from class com.arsdigita.util.parameter.ClassParameter
marshal
 
Methods inherited from class com.arsdigita.util.parameter.AbstractParameter
doRead, doValidate, doWrite, getDefaultValue, getInfo, getName, isRequired, read, setInfo, toString, validate, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AliasedClassParameter

public AliasedClassParameter(String name,
                             int multiplicity,
                             Object defaalt)
Method Detail

addAlias

public void addAlias(String alias,
                     String className)

unmarshal

protected Object unmarshal(String value,
                           ErrorList errors)
Description copied from class: AbstractParameter
Converts a literal String value, value, to a Java object, which is returned.

Overrides:
unmarshal in class ClassParameter


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC