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