|
|||||||||
| Home >> All >> org >> mule >> digester >> [ converters overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mule.digester.converters
Class ProviderConverter

java.lang.Objectorg.mule.digester.converters.ProviderConverter
- All Implemented Interfaces:
- org.apache.commons.beanutils.Converter
- public class ProviderConverter
- extends java.lang.Object
- implements org.apache.commons.beanutils.Converter
- extends java.lang.Object
TransformerConverterwill obtain a provider name and
convert it to a UMOProviderDescriptor instance by looking up the
proivder from the MuleManager.
- Version:
- $Revision: 1.5 $
| Field Summary | |
private java.lang.Object |
defaultValue
The default value specified to our Constructor, if any. |
(package private) org.mule.MuleManager |
manager
|
private boolean |
useDefault
Should we return the default value on conversion errors? |
| Constructor Summary | |
ProviderConverter()
Create a org.apache.commons.beanutils.Converter that will throw a org.apache.commons.beanutils.ConversionException if a conversion error occurs. |
|
ProviderConverter(java.lang.Object defaultValue)
Create a org.apache.commons.beanutils.Converter that will return the specified default value if a conversion error occurs. |
|
| Method Summary | |
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value)
Convert the specified input object into an output object of the specified type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
defaultValue
private java.lang.Object defaultValue
- The default value specified to our Constructor, if any.
useDefault
private boolean useDefault
- Should we return the default value on conversion errors?
manager
org.mule.MuleManager manager
| Constructor Detail |
ProviderConverter
public ProviderConverter()
- Create a org.apache.commons.beanutils.Converter that will throw a org.apache.commons.beanutils.ConversionException
if a conversion error occurs.
ProviderConverter
public ProviderConverter(java.lang.Object defaultValue)
- Create a org.apache.commons.beanutils.Converter that will return the specified default value
if a conversion error occurs.
| Method Detail |
convert
public java.lang.Object convert(java.lang.Class type, java.lang.Object value)
- Convert the specified input object into an output object of the
specified type.
- Specified by:
convertin interfaceorg.apache.commons.beanutils.Converter
|
|||||||||
| Home >> All >> org >> mule >> digester >> [ converters overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mule.digester.converters.ProviderConverter