パッケージ org.opengion.fukurou.xml

Enum Class OGNodeType

java.lang.Object
java.lang.Enum<OGNodeType>
org.opengion.fukurou.xml.OGNodeType
すべての実装されたインタフェース:
Serializable, Comparable<OGNodeType>, Constable

public enum OGNodeType extends Enum<OGNodeType>
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,
  • 列挙型定数の詳細

  • メソッドの詳細

    • values

      public static OGNodeType[] 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

      public static OGNodeType valueOf(String name)
      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 name
      NullPointerException - 引数がnullの場合