Uses of Interface
org.mule.api.transformer.DataType

Packages that use DataType
org.mule The Mule implementation of the Universal Message Objects(tm) API specification. 
org.mule.api.registry   
org.mule.api.transformer Contains the interfaces for transformers and exceptions for the Transformer API. 
org.mule.config.i18n Internationalisation support for Mule messages and exception messages. 
org.mule.registry   
org.mule.transformer Provides the default transformer base implementations for Mule including compression and encryption support. 
org.mule.transformer.types   
 

Uses of DataType in org.mule
 

Methods in org.mule with parameters of type DataType
protected
<T> T
DefaultMuleMessage.getPayload(DataType<T> resultType, String encoding)
          Will attempt to obtain the payload of this message with the desired Class type.
 

Uses of DataType in org.mule.api.registry
 

Methods in org.mule.api.registry with parameters of type DataType
 Transformer MuleRegistry.lookupTransformer(DataType source, DataType result)
          Will find a transformer that is the closest match to the desired input and output.
 Transformer MuleRegistry.lookupTransformer(DataType source, DataType result)
          Will find a transformer that is the closest match to the desired input and output.
 List<Transformer> MuleRegistry.lookupTransformers(DataType source, DataType result)
          This method will return a list of Transformer objects that accept the given input and return the given output type of object
 List<Transformer> MuleRegistry.lookupTransformers(DataType source, DataType result)
          This method will return a list of Transformer objects that accept the given input and return the given output type of object
 Transformer TransformerResolver.resolve(DataType source, DataType result)
          Responsible for finding a transformer with the given criteria.
 Transformer TransformerResolver.resolve(DataType source, DataType result)
          Responsible for finding a transformer with the given criteria.
 

Uses of DataType in org.mule.api.transformer
 

Methods in org.mule.api.transformer that return DataType
 DataType<?> Transformer.getReturnDataType()
          Specifies the return type of the result after this transformer has been executed.
 

Methods in org.mule.api.transformer that return types with arguments of type DataType
 List<DataType<?>> Transformer.getSourceDataTypes()
          Returns an unmodifiable list of Source types registered on this transformer
 

Methods in org.mule.api.transformer with parameters of type DataType
 boolean DataType.isCompatibleWith(DataType dataType)
          Used to determine if this data type is compatible with the data type passed in.
 boolean Transformer.isSourceDataTypeSupported(DataType<?> dataType)
          Determines if a particular source class can be handled by this transformer
 void Transformer.setReturnDataType(DataType<?> type)
          Sets the expected return type for the transformed data.
 

Uses of DataType in org.mule.config.i18n
 

Methods in org.mule.config.i18n with parameters of type DataType
static Message CoreMessages.noTransformerFoundForMessage(DataType input, DataType output)
           
static Message CoreMessages.noTransformerFoundForMessage(DataType input, DataType output)
           
static Message CoreMessages.transformOnObjectNotOfSpecifiedType(DataType<?> resultType, Object expectedType)
           
static Message CoreMessages.transformUnexpectedType(DataType dt1, DataType dt2)
           
static Message CoreMessages.transformUnexpectedType(DataType dt1, DataType dt2)
           
 

Uses of DataType in org.mule.registry
 

Methods in org.mule.registry with parameters of type DataType
 Transformer MuleRegistryHelper.lookupTransformer(DataType source, DataType result)
          Will find a transformer that is the closest match to the desired input and output.
 Transformer MuleRegistryHelper.lookupTransformer(DataType source, DataType result)
          Will find a transformer that is the closest match to the desired input and output.
 List<Transformer> MuleRegistryHelper.lookupTransformers(DataType source, DataType result)
          This method will return a list of Transformer objects that accept the given input and return the given output type of object
 List<Transformer> MuleRegistryHelper.lookupTransformers(DataType source, DataType result)
          This method will return a list of Transformer objects that accept the given input and return the given output type of object
 Transformer TypeBasedTransformerResolver.resolve(DataType source, DataType result)
           
 Transformer TypeBasedTransformerResolver.resolve(DataType source, DataType result)
           
 

Uses of DataType in org.mule.transformer
 

Fields in org.mule.transformer declared as DataType
static DataType AbstractTransformer.MULE_MESSAGE_ADAPTER_DATA_TYPE
           
static DataType AbstractTransformer.MULE_MESSAGE_DATA_TYPE
           
protected  DataType AbstractTransformer.returnType
          The return type that will be returned by the AbstractTransformer.transform(java.lang.Object) method is called
 

Fields in org.mule.transformer with type parameters of type DataType
protected  List<DataType<?>> AbstractTransformer.sourceTypes
          A list of supported Class types that the source payload passed into this transformer
 

Methods in org.mule.transformer that return DataType
 DataType AbstractTransformer.getReturnDataType()
           
 

Methods in org.mule.transformer that return types with arguments of type DataType
 List<DataType<?>> AbstractTransformer.getSourceDataTypes()
           
 

Methods in org.mule.transformer with parameters of type DataType
 boolean AbstractTransformer.isSourceDataTypeSupported(DataType dataType)
           
 boolean AbstractMessageAwareTransformer.isSourceDataTypeSupported(DataType dataType, boolean exactMatch)
           
 boolean AbstractTransformer.isSourceDataTypeSupported(DataType dataType, boolean exactMatch)
          Determines whether that data type passed in is supported by this transformer
protected  void AbstractTransformer.registerSourceType(DataType dataType)
          Register a supported data type with this transformer.
 void AbstractTransformer.setReturnDataType(DataType type)
           
protected  void AbstractTransformer.unregisterSourceType(DataType dataType)
          Unregister a supported source type from this transformer
 

Uses of DataType in org.mule.transformer.types
 

Classes in org.mule.transformer.types that implement DataType
 class CollectionDataType<T>
          A data type that represents a generified collection.
 class ListDataType<T>
          TODO
 class SetDataType<T>
          TODO
 class SimpleDataType<T>
          A data type that simply wraps a Java type.
 

Fields in org.mule.transformer.types declared as DataType
static DataType<String> DataTypeFactory.ATOM_STRING
           
static DataType<String> DataTypeFactory.HTML_STRING
           
static DataType<String> DataTypeFactory.JSON_STRING
           
static DataType<String> DataTypeFactory.RSS_STRING
           
static DataType<String> DataTypeFactory.TEXT_STRING
           
static DataType<String> DataTypeFactory.XML_STRING
           
 

Methods in org.mule.transformer.types that return DataType
<T> DataType<T>
DataTypeFactory.create(Class<?> type, String mimeType)
           
 DataType DataTypeFactory.create(Class<? extends Collection> collClass, Class itemType)
           
 DataType DataTypeFactory.create(Class<? extends Collection> collClass, Class itemType, String mimeType)
           
<T> DataType<T>
DataTypeFactory.create(Class<T> type)
           
 DataType DataTypeFactory.createFromField(Field f)
           
 DataType DataTypeFactory.createFromField(Field f, String mimeType)
           
 DataType DataTypeFactory.createFromObject(Object o)
          Will create a DataType object from an object instance.
 DataType DataTypeFactory.createFromParameterType(Method m, int paramIndex)
           
 DataType DataTypeFactory.createFromParameterType(Method m, int paramIndex, String mimeType)
           
 DataType DataTypeFactory.createFromReturnType(Method m)
           
 DataType DataTypeFactory.createFromReturnType(Method m, String mimeType)
           
 

Methods in org.mule.transformer.types with parameters of type DataType
 boolean CollectionDataType.isCompatibleWith(DataType dataType)
           
 boolean SimpleDataType.isCompatibleWith(DataType dataType)
           
 



Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.