@SuppressWarnings("unchecked")
    public <T extends WebLocatorAbstractBuilder> T setTemplateValue(final String key, final String... value) {
        pathBuilder.setTemplateValue(key, value);
        return (T) this;
    }
@ SuppressWarnings ( "unchecked" ) public < T extends WebLocatorAbstractBuilder > T setTemplateValue ( final String key , final String ... value ) { pathBuilder . setTemplateValue ( key , value ) ; return ( T ) this ; }
<p><b>Used for finding element process (to generate xpath address)</b></p>
<p>Example:</p>
<pre>
WebLocator child = new WebLocator().setTemplate("custom", "%1$s = %2$s");
child.setTemplateValue("custom", "a", "b");
assertThat(child.getXPath(), equalTo("//*[a = b]"));
</pre>

@param key   identify key
@param value value
@param <T>   the element which calls this method
@return this element