setWidget(3, 1, xpathTextBox);
}
public ExternalDataRef getData() {
if (isValid) {
ExternalDataRef ref = new ExternalDataRef();
ref.setSource(sourceTextBox.getValue());
ref.setMethod(methodListBox.getValue(methodListBox.getSelectedIndex()));
ref.setResponseLanguage(responseListBox.getValue(responseListBox.getSelectedIndex()));
ref.setXpath(xpathTextBox.getValue());
return ref;
}
return null;
}