dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>templateValues</code> - a map of URI template names and their encoded values.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new target instance or the same target instance in case the input name-value map is empty.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPoint