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 */ 016 package 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 */ 034 public enum OGNodeType { List , Text , Comment , Cdata , DTD , Element , Document };