litesoft
Diff Revisions
49
vs
151
for /trunk/Java/GWT/Server/src/org/litesoft/testplan/SelectionParserJQuery.java
|
@@ -1,20 +1,20 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.testplan; |
3 |
3 |
|
|
4 |
|
- |
import org.litesoft.xml.*; |
5 |
4 |
|
import org.litesoft.GWT.client.dev.ui.inspection.*; |
|
5 |
+ |
import org.litesoft.xml.*; |
6 |
6 |
|
|
7 |
7 |
|
public class SelectionParserJQuery |
8 |
8 |
|
{ |
9 |
9 |
|
private static final String TAG_NAME = "JQuery"; |
10 |
10 |
|
private static final String ATTR_EXPRESSSION = "expression"; |
11 |
11 |
|
|
12 |
|
- |
public JQuerySelectionSpec parse(PullParserProxy pParser) |
|
12 |
+ |
public JQuerySelectionSpec parse( PullParserProxy pParser ) |
13 |
13 |
|
{ |
14 |
|
- |
pParser.validateIsStartTag(TAG_NAME); |
15 |
|
- |
String expression = pParser.getAttributeValue(ATTR_EXPRESSSION); |
16 |
|
- |
pParser.validateNextIsEndTag(TAG_NAME); |
17 |
|
- |
return new JQuerySelectionSpec(expression); |
|
14 |
+ |
pParser.validateIsStartTag( TAG_NAME ); |
|
15 |
+ |
String expression = pParser.getAttributeValue( ATTR_EXPRESSSION ); |
|
16 |
+ |
pParser.validateNextIsEndTag( TAG_NAME ); |
|
17 |
+ |
return new JQuerySelectionSpec( expression ); |
18 |
18 |
|
} |
19 |
19 |
|
|
20 |
20 |
|
public String getTagName() |