@ Override public Object convert ( Object value ) { if ( value instanceof Element ) { return parseXmlElement ( ( Element ) value ) ; } if ( value instanceof CompositeData ) { return toMap ( ( CompositeData ) value ) ; } return value ; }
Returns the value or the converted value if a conversion method is implemented .