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 * JSP/XMLファイルを読み取って、構築される?位? OGDocument オブジェク?を???フィルタインターフェースです?
020 *
021 * JspSaxParser での copyDirectry されるときに、このフィルターが呼ばれるように設定できます?
022 *
023 * @og.rev 5.1.9.0 (2010/08/01) 新規作?
024 *
025 * @version 5.0
026 * @author Kazuhiko Hasegawa
027 * @since JDK6.0,
028 */
029 public interface JspParserFilter {
030
031 /**
032 * ドキュメントオブジェク?を変換します?
033 *
034 * 引数に null が設定された場合も、正常に処?行います?(return null とする)
035 * 後続??行いたくな??合にも?null を返します?
036 *
037 * @param doc 処?行うドキュメントオブジェク?
038 *
039 * @return 処?た結果のドキュメントオブジェク?
040 */
041 OGDocument filter( final OGDocument doc );
042 }