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