jp.morpho.config
クラス SystemPropertyNode

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--jp.morpho.config.Node
                          |
                          +--jp.morpho.config.SystemPropertyNode
すべての実装インタフェース:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class SystemPropertyNode
extends Node

SystemPropertyNode クラスは、SystemProperty タグを表します。

例えば SystemProperty タグは、次のように配備記述子内に記述されます。

     <SystemProperty name="someName" default="defaultValue"/>
 

これは、次のようなコードを書くことと同じです。

     System.getProperty("someName", "defaultValue");
 

作成者:
Kumiko Hiroi
関連項目:
直列化された形式

フィールドの概要
 
クラス java.util.Vector から継承したフィールド
capacityIncrement, elementCount, elementData
 
クラス java.util.AbstractList から継承したフィールド
modCount
 
コンストラクタの概要
SystemPropertyNode(Node parent, org.xml.sax.Attributes attributes)
           親ノードとノードの属性を指定して SystemPropertyNode オブジェクトを作成します。
 
メソッドの概要
 java.lang.Object configure(java.lang.Object obj)
           指定されたオブジェクトを形成します。
 int getTag()
           タグ値を返します。
 
クラス jp.morpho.config.Node から継承したメソッド
configure, getAttribute, getAttributes, getItemValue, getNodeClass, getNodeName, getParent, getValue
 
クラス java.util.Vector から継承したメソッド
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
クラス java.util.AbstractList から継承したメソッド
iterator, listIterator, listIterator
 
クラス java.lang.Object から継承したメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 
インタフェース java.util.List から継承したメソッド
iterator, listIterator, listIterator
 

コンストラクタの詳細

SystemPropertyNode

public SystemPropertyNode(Node parent,
                          org.xml.sax.Attributes attributes)

親ノードとノードの属性を指定して SystemPropertyNode オブジェクトを作成します。

パラメータ:
parent - このノードの親ノード
attributes - このノードの属性
メソッドの詳細

getTag

public int getTag()

タグ値を返します。

定義:
クラス Node 内の getTag
戻り値:
タグ値
関連項目:
Node.getTag()

configure

public java.lang.Object configure(java.lang.Object obj)
                           throws ConfigureException

指定されたオブジェクトを形成します。 クラスの説明にあるように、システムプロパティを取得します。

定義:
クラス Node 内の configure
パラメータ:
obj - 使用しません
戻り値:
システムプロパティ
例外:
ConfigureException - オブジェクトが形成できなかった場合
関連項目:
Node.configure(Object)