Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.litesoft.testplan;

import org.litesoft.GWT.client.*;
import org.litesoft.GWT.client.dev.ui.testplan.*;
import org.litesoft.util.*;
import org.litesoft.xml.*;

public class TestPlanParserActionFactoryClickTableCell implements TestPlanActionFactory
{
    private static final String TAG_NAME = TestPlanActionClickTableCell.FORM;

    @Override
    public TestPlanAction parse( PullParserProxy pParser )
    {
        pParser.validateIsStartTag( TAG_NAME );
        String zStrNth = Utils.noEmpty( pParser.getAttributeValue( "nth" ) );
        int zRow = Integer.parseInt( Utils.noEmpty( pParser.getAttributeValue( "row" ) ) );
        int zCol = Integer.parseInt( Utils.noEmpty( pParser.getAttributeValue( "col" ) ) );
        String zModifiers = Utils.noEmpty( pParser.getAttributeValue( "modifiers" ) );
        pParser.validateNextIsEndTag( TAG_NAME );
        KeyboardKeyModifier zKeyboardKeyModifier = (zModifiers != null) ? KeyboardKeyModifier.valueOf( zModifiers ) : null;
        Integer zNth = (zStrNth != null) ? new Integer( zStrNth ) : null;
        return new TestPlanActionClickTableCell( zNth, zRow, zCol, zKeyboardKeyModifier );
    }
}

Commits for litesoft/trunk/Java/GWT/Server/src/org/litesoft/testplan/TestPlanParserActionFactoryClickTableCell.java

Diff revisions: vs.
Revision Author Commited Message
25 Diff Diff GeorgeS picture GeorgeS Mon 01 Mar, 2010 14:09:51 +0000
2 GeorgeS picture GeorgeS Sun 07 Feb, 2010 12:50:58 +0000