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

@param resultElement
the new result element
Sets the result element .