public void setResultElement ( final List < DocumentElement > resultElement ) { if ( resultElement != null ) { this . resultElement = resultElement . stream ( ) . collect ( Collectors . toList ( ) ) ; } }
Sets the result element .