* {@link DerivableHTTPMessageEntity} to the builder.
*
* @param builder The builder to update.
*/
protected static void addCommonSetters(SettersBuilder builder) {
builder.addAttributeSetter(WebDriverElements.FROM.getLocalName(), new Setter() {
public void setPropertyAsString(Object object, String string) {
((DerivableHTTPMessageEntity) object).setFrom(string);
}
});
builder.addCombinedSetter(WebDriverElements.NAME, new Setter() {
public void setPropertyAsString(Object object, String string) {
((DerivableHTTPMessageEntity) object).setName(string);
}
});
builder.addCombinedSetter(WebDriverElements.VALUE, new Setter() {
public void setPropertyAsString(Object object, String string) {
((DerivableHTTPMessageEntity) object).setValue(string);
}
});
}