* @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(org.apache.jmeter.testelement.TestElement)
*/
public void modifyTestElement(TestElement extractor) {
super.configureTestElement(extractor);
if ( extractor instanceof XPathExtractor){
XPathExtractor xpath = (XPathExtractor)extractor;
xpath.setDefaultValue(defaultField.getText());
xpath.setRefName(refNameField.getText());
xpath.setXPathQuery(xpathQueryField.getText());
xpath.setTolerant(tolerant.isSelected());
xpath.setNameSpace(nameSpace.isSelected());
xpath.setShowWarnings(showWarnings.isSelected());
xpath.setReportErrors(reportErrors.isSelected());
xpath.setQuiet(quiet.isSelected());
}
}