@Nonnull
  public static ESuccess visualize (@Nonnull final EEbInterfaceVersion eVersion,
                                    @Nonnull final Source aSource,
                                    @Nonnull final Result aResult)
  {
    ValueEnforcer.notNull (eVersion, "version");

    // Get cache XSL templates
    final Templates aTemplates = getXSLTTemplates (eVersion);
    if (aTemplates == null)
      return ESuccess.FAILURE;

    // Start the main transformation
    try
    {
      final Transformer aTransformer = aTemplates.newTransformer ();
      aTransformer.transform (aSource, aResult);
      return ESuccess.SUCCESS;
    }
    catch (final TransformerException ex)
    {
      LOGGER.error ("Failed to apply transformation for ebInterface " + eVersion + " invoice", ex);
      return ESuccess.FAILURE;
    }
  }
@ Nonnull public static ESuccess visualize ( @ Nonnull final EEbInterfaceVersion eVersion , @ Nonnull final Source aSource , @ Nonnull final Result aResult ) { ValueEnforcer . notNull ( eVersion , "version" ) ; final Templates aTemplates = getXSLTTemplates ( eVersion ) ; if ( aTemplates == null ) return ESuccess . FAILURE ; try { final Transformer aTransformer = aTemplates . newTransformer ( ) ; aTransformer . transform ( aSource , aResult ) ; return ESuccess . SUCCESS ; } catch ( final TransformerException ex ) { LOGGER . error ( "Failed to apply transformation for ebInterface " + eVersion + " invoice" , ex ) ; return ESuccess . FAILURE ; } }
Visualize a source to a result for a certain ebInterface version using
XSLT. This is the most generic method.

@param eVersion
ebInterface version to use.
@param aSource
Source.
@param aResult
Destination
@return {@link ESuccess}