1 | if ( extractor instanceof XPathExtractor){↵ | | 1 | if (c instanceof ↵
|
2 | XPathExtractor xpath = (XPathExtractor)extractor;↵ | | |
|
3 | xpath.setDefaultValue(defaultField.getText());↵ | | |
|
4 | xpath.setRefName(refNameField.getText());↵ | | |
|
5 | xpath.setXPathQuery(xpathQueryField.getText());↵ | | |
|
6 | xpath.setTolerant(tolerant.isSelected());↵ | | |
|
7 | xpath↵ | | 2 | CounterConfig) {↵
|
| | | 3 | CounterConfig config = (CounterConfig) c;↵
|
| | | 4 | config.setStart(startField.getText());↵
|
| | | 5 | // Bug 22820 if (endField.getText().length() > 0)↵
|
| | | 6 | {↵
|
| | | 7 | config.setEnd(endField.getText());↵
|
| | | 8 | }↵
|
| | | 9 | config.setIncrement(incrField.getText());↵
|
8 | .setNameSpace(nameSpace.isSelected());↵ | | 10 | config.setVarName(varNameField.getText());↵
|
9 | xpath.setShowWarnings(showWarnings.isSelected());↵ | | 11 | ↵
|
10 | xpath.setReportErrors(reportErrors.isSelected());↵ | | |
|
11 | xpath.setQuiet(quiet↵ | | 12 | config.setFormat(formatField.getText());↵
|
12 | .isSelected());↵ | | 13 | config.setIsPerUser(perUserField.isSelected());↵
|
13 | | | 14 |
|