Class DefaultAttributeToDataContentConverter

  • All Implemented Interfaces:
    Converter<java.lang.Object,​java.lang.Object>

    public class DefaultAttributeToDataContentConverter
    extends java.lang.Object
    implements Converter<java.lang.Object,​java.lang.Object>
    Default Attribute Converter. This converter should only be used when all of the AttributeContentConverter instances fail to convert a given object. Returns the Object.toString() from the Object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(java.lang.Object source)
      Uses the source S object and produces an new instance of T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultAttributeToDataContentConverter

        public DefaultAttributeToDataContentConverter()
    • Method Detail

      • convert

        public java.lang.Object convert​(java.lang.Object source)
        Description copied from interface: Converter
        Uses the source S object and produces an new instance of T.
        Specified by:
        convert in interface Converter<java.lang.Object,​java.lang.Object>
        Parameters:
        source - the input to be converted.
        Returns:
        an instance of T, converted from the input source.