else {
prefix = name + ".";
}
if (wasPositionSpecified_) {
final NameValuePair valueX = new NameValuePair(prefix + 'x', String.valueOf(xPosition_));
final NameValuePair valueY = new NameValuePair(prefix + 'y', String.valueOf(yPosition_));
if (prefix.length() > 0 && getPage().getWebClient().getBrowserVersion().isFirefox()) {
return new NameValuePair[] {valueX, valueY,
new NameValuePair(getNameAttribute(), getValueAttribute()) };
}
return new NameValuePair[] {valueX, valueY};
}
return new NameValuePair[]{new NameValuePair(getNameAttribute(), getValueAttribute())};
}