Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Server/src/org/litesoft/testplan/TestPlanParserActionFactoryClickCheckBox.java

Diff revisions: vs.
  @@ -1,18 +1,18 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.testplan;
3 -
4 - import org.litesoft.GWT.client.dev.ui.testplan.*;
5 - import org.litesoft.xml.*;
6 -
7 - public class TestPlanParserActionFactoryClickCheckBox implements TestPlanActionFactory {
8 - private static final String TAG_NAME = TestPlanActionClickCheckBox.FORM;
9 -
10 - @Override
11 - public TestPlanAction parse( PullParserProxy pParser ) {
12 - pParser.validateIsStartTag( TAG_NAME );
13 - String zStrNth = pParser.getAttributeValue( "nth" );
14 - pParser.validateNextIsEndTag( TAG_NAME );
15 - Integer zNth = (zStrNth != null) ? new Integer( zStrNth ) : null;
16 - return new TestPlanActionClickCheckBox( zNth );
17 - }
18 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.testplan;
3 +
4 + import org.litesoft.GWT.client.dev.ui.testplan.*;
5 + import org.litesoft.xml.*;
6 +
7 + public class TestPlanParserActionFactoryClickCheckBox implements TestPlanActionFactory {
8 + private static final String TAG_NAME = TestPlanActionClickCheckBox.FORM;
9 +
10 + @Override
11 + public TestPlanAction parse( PullParserProxy pParser ) {
12 + pParser.validateIsStartTag( TAG_NAME );
13 + String zStrNth = pParser.getAttributeValue( "nth" );
14 + pParser.validateNextIsEndTag( TAG_NAME );
15 + Integer zNth = (zStrNth != null) ? new Integer( zStrNth ) : null;
16 + return new TestPlanActionClickCheckBox( zNth );
17 + }
18 + }