org.apache.commons.digester
クラス SetPropertyRule

java.lang.Object
  |
  +--org.apache.commons.digester.Rule
        |
        +--org.apache.commons.digester.SetPropertyRule

public class SetPropertyRule
extends Rule

Rule implementation that sets an individual property on the object at the top of the stack, based on attributes with specified names.

バージョン:
$Revision: 1.4 $ $Date: 2001/08/20 18:28:40 $
作成者:
Craig McClanahan

フィールドの概要
protected  java.lang.String name
          The attribute that will contain the property name.
protected  java.lang.String value
          The attribute that will contain the property value.
 
クラス org.apache.commons.digester.Rule から継承したフィールド
digester, namespaceURI
 
コンストラクタの概要
SetPropertyRule(Digester digester, java.lang.String name, java.lang.String value)
          Construct a "set property" rule with the specified name and value attributes.
 
メソッドの概要
 void begin(org.xml.sax.Attributes attributes)
          Process the beginning of this element.
 java.lang.String toString()
          Render a printable version of this Rule.
 
クラス org.apache.commons.digester.Rule から継承したメソッド
body, end, finish, getDigester, getNamespaceURI, setNamespaceURI
 
クラス java.lang.Object から継承したメソッド
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

フィールドの詳細

name

protected java.lang.String name
The attribute that will contain the property name.

value

protected java.lang.String value
The attribute that will contain the property value.
コンストラクタの詳細

SetPropertyRule

public SetPropertyRule(Digester digester,
                       java.lang.String name,
                       java.lang.String value)
Construct a "set property" rule with the specified name and value attributes.
パラメータ:
digester - The digester with which this rule is associated
name - Name of the attribute that will contain the name of the property to be set
value - Name of the attribute that will contain the value to which the property should be set
メソッドの詳細

begin

public void begin(org.xml.sax.Attributes attributes)
           throws java.lang.Exception
Process the beginning of this element.
オーバーライド:
クラス Rule 内の begin
パラメータ:
context - The associated context
attributes - The attribute list of this element

toString

public java.lang.String toString()
Render a printable version of this Rule.
オーバーライド:
クラス java.lang.Object 内の toString


Copyright (c) 2001 - Apache Software Foundation