001/*
002 * Copyright (c) 2009 The openGion Project.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013 * either express or implied. See the License for the specific language
014 * governing permissions and limitations under the License.
015 */
016package org.opengion.fukurou.xml;
017
018/**
019 * OGNode のタイプを規定した、enum 定義です。
020 *
021 * List   :内部に、OGNode の ArrayList を持つ
022 * Text   :内部は、文字列の BODY 部分を持つ
023 * Comment  :内部は、文字列であるが、toString() 時には、コメント記号を前後に出力する。
024 * Cdata   :内部は、TextNodeのArrayList を持つ、toString() 時には、Cdataを前後に出力する。
025 * Element  :タグ名、属性、OGNode の ArrayList の入れ子状態をもつ
026 * Document :トップのElement として、read/write するときに使用。構造は、唯一の OGElement を持つ List タイプ
027 *
028 * @og.rev 5.1.8.0 (2010/07/01) 新規作成
029 *
030 * @version  5.0
031 * @author   Kazuhiko Hasegawa
032 * @since    JDK6.0,
033 */
034public enum OGNodeType {
035        /** タイプ定義 */ List ,
036        /** タイプ定義 */ Text ,
037        /** タイプ定義 */ Comment ,
038        /** タイプ定義 */ Cdata ,
039        /** タイプ定義 */ DTD ,
040        /** タイプ定義 */ Element ,
041        /** タイプ定義 */ Document
042}