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 };