|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectwoolpack.dom.FormatAttrValue
public class FormatAttrValue
Format.format(java.lang.Object)
を使用して属性値を変換するDomExpression
。
コンストラクタの概要 | |
---|---|
FormatAttrValue(java.lang.String attrName,
java.text.Format format)
コンストラクタ。 |
|
FormatAttrValue(java.lang.String attrName,
FormatFactory factory)
コンストラクタ。 |
メソッドの概要 | |
---|---|
void |
interpret(DomContext context)
DOM ノードを加工するために呼び出される(called)。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public FormatAttrValue(java.lang.String attrName, FormatFactory factory)
attrName
- 属性名。factory
- フォーマットのファクトリ。
java.lang.NullPointerException
- 引数のいずれかが null の場合。
java.lang.StringIndexOutOfBoundsException
- attrName が空の場合。public FormatAttrValue(java.lang.String attrName, java.text.Format format)
Format.clone()
で複製して利用する。
attrName
- 属性名。format
- フォーマット。
java.lang.NullPointerException
- 引数のいずれかが null の場合。
java.lang.StringIndexOutOfBoundsException
- attrName が空の場合。メソッドの詳細 |
---|
public void interpret(DomContext context)
DomExpression
の記述: RuntimeException
のサブ例外が発生する場合は JavaDoc コメントに記載すると部品の可用性が維持される。
DomExpression
内の interpret
context
- コンテキスト。
java.lang.NullPointerException
- 引数またはDomContext.getNode()
が null の場合。
java.lang.ClassCastException
- DomContext.getNode()
がElement
でない場合。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |