パッケージ org.opengion.fukurou.xml
Enum Class OGNodeType
- すべての実装されたインタフェース:
Serializable
,Comparable<OGNodeType>
,Constable
OGNode のタイプを規定した、enum 定義です。
List :内部に、OGNode の ArrayList を持つ
Text :内部は、文字列の BODY 部分を持つ
Comment :内部は、文字列であるが、toString() 時には、コメント記号を前後に出力する。
Cdata :内部は、TextNodeのArrayList を持つ、toString() 時には、Cdataを前後に出力する。
Element :タグ名、属性、OGNode の ArrayList の入れ子状態をもつ
Document :トップのElement として、read/write するときに使用。構造は、唯一の OGElement を持つ List タイプ
- 変更履歴:
- 5.1.8.0 (2010/07/01) 新規作成
- 導入されたバージョン:
- JDK6.0,
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数 -
メソッドの概要
修飾子とタイプメソッド説明static OGNodeType
Returns the enum constant of this class with the specified name.static OGNodeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
列挙型定数の詳細
-
List
タイプ定義 -
Text
タイプ定義 -
Comment
タイプ定義 -
Cdata
タイプ定義 -
DTD
タイプ定義 -
Element
タイプ定義 -
Document
タイプ定義
-
-
メソッドの詳細
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 戻り値:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 引数がnullの場合
-