org.seasar.jms.core.text.impl
クラス TextHolder

java.lang.Object
  上位を拡張 org.seasar.jms.core.text.impl.TextHolder
すべての実装されたインタフェース:
TextProvider

public class TextHolder
extends Object
implements TextProvider

インスタンスフィールドに保持した文字列を返す単純なTextProviderの実装クラス。

作成者:
koichik

フィールドの概要
protected  String text
          文字列
 
コンストラクタの概要
TextHolder()
          インスタンスを構築します。
TextHolder(String text)
          インスタンスを構築します。
 
メソッドの概要
 String getText()
          文字列を返します。
 void setText(String text)
          文字列を設定します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

text

protected String text
文字列

コンストラクタの詳細

TextHolder

public TextHolder()
インスタンスを構築します。


TextHolder

public TextHolder(String text)
インスタンスを構築します。

パラメータ:
text - 文字列
メソッドの詳細

getText

public String getText()
文字列を返します。

定義:
インタフェース TextProvider 内の getText
戻り値:
文字列

setText

public void setText(String text)
文字列を設定します。

パラメータ:
text - 文字列


Copyright © 2005-2009 The Seasar Foundation. All Rights Reserved.