jp.co.fujitsu.reffi.client.nexaweb.parser
クラス RadioButtonValueParser

java.lang.Object
  上位を拡張 jp.co.fujitsu.reffi.client.nexaweb.parser.RadioButtonValueParser
すべての実装されたインタフェース:
Parser

public class RadioButtonValueParser
extends Object
implements Parser

[概 要]

radioButtonエレメントの保持する値を取得するクラスです。

[詳 細]

radioButtonエレメントの値を取得する為の Parser.parse(Element)を実装します。

[備 考]

このクラスはElementValueParserによってインスタンス化され、使用されます。
詳細はElementValueParser.parse(Element)を参照して下さい。

[環 境] JDK 6.0 Update 11

Copyright (c) 2008-2009 FUJITSU Japan All rights reserved.

作成者:
Project Reffi

コンストラクタの概要
protected RadioButtonValueParser()
          [概 要] Protectedコンストラクタです。
 
メソッドの概要
 ElementValues parse(Element radioButton)
          [概 要] radioButtonの値を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RadioButtonValueParser

protected RadioButtonValueParser()

[概 要]

Protectedコンストラクタです。

[詳 細]

デフォルト処理は有りません。

[備 考]

radioButtonエレメント値をパースするには ElementValueParser.parse(Element) を使用して下さい。

メソッドの詳細

parse

public ElementValues parse(Element radioButton)

[概 要]

radioButtonの値を取得します。

[詳 細]

radioButtonエレメントのselected属性値を調べ、trueであれば name属性値="true"でElementValueオブジェクトを生成します。
生成されたElementValueオブジェクトはElementValuesオブジェクトの インデックス0として返却されます。

[備 考]

定義:
インタフェース Parser 内の parse
パラメータ:
radioButton - 値をパースするradioButtonエレメント


Copyright(C) Fujitsu All Rights Reserved.