litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Server/src/org/litesoft/testplan/SelectionParserJQuery.java
|
@@ -4,21 +4,18 @@ |
4 |
4 |
|
import org.litesoft.GWT.client.dev.ui.inspection.*; |
5 |
5 |
|
import org.litesoft.xml.*; |
6 |
6 |
|
|
7 |
|
- |
public class SelectionParserJQuery |
8 |
|
- |
{ |
|
7 |
+ |
public class SelectionParserJQuery { |
9 |
8 |
|
private static final String TAG_NAME = "JQuery"; |
10 |
9 |
|
private static final String ATTR_EXPRESSSION = "expression"; |
11 |
10 |
|
|
12 |
|
- |
public JQuerySelectionSpec parse( PullParserProxy pParser ) |
13 |
|
- |
{ |
|
11 |
+ |
public JQuerySelectionSpec parse( PullParserProxy pParser ) { |
14 |
12 |
|
pParser.validateIsStartTag( TAG_NAME ); |
15 |
13 |
|
String expression = pParser.getAttributeValue( ATTR_EXPRESSSION ); |
16 |
14 |
|
pParser.validateNextIsEndTag( TAG_NAME ); |
17 |
15 |
|
return new JQuerySelectionSpec( expression ); |
18 |
16 |
|
} |
19 |
17 |
|
|
20 |
|
- |
public String getTagName() |
21 |
|
- |
{ |
|
18 |
+ |
public String getTagName() { |
22 |
19 |
|
return TAG_NAME; |
23 |
20 |
|
} |
24 |
21 |
|
} |