亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? saxconfigurationbuilder.java

?? JDBF是一個實(shí)現(xiàn)o/r mapping 的軟件
?? JAVA
字號:
/*
 * 04/04/2002 - 23:12:27
 *
 * $RCSfile: SAXConfigurationBuilder.java,v $ - JDBF Object Relational mapping system
 * 
 * http://jdbf.sourceforge.net
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
 /*
  *
  * $Id: SAXConfigurationBuilder.java,v 1.6 2004/05/20 22:44:15 gmartone Exp $
  *
  */

package org.jdbf.engine.xml;

import java.util.Stack;
import java.util.logging.Logger;
import java.util.logging.Level;

import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;

import org.jdbf.castor.Messages;
import org.jdbf.engine.configuration.Configuration;
import org.jdbf.engine.configuration.ConfigurationImpl;

/**
 *
 * <code>SAXConfigurationBuilder</code> is the class that builds 
 * the SAX parser to parse configuration file.
 * 
 * This class is based on an implementation in Avalon.
 * That implementation is in org.apache.avalon.SAXConfigurationBuilder.
 * The author of that source is Pierpaolo Fumagalli. 
 * 
 * 
 * @version $Revision: 1.6 $
 * last changed by $Author: gmartone $
 *
 */
public class SAXConfigurationBuilder extends DefaultHandler {

   /**
    * Class name
    */
   private static final String CLASS_NAME = 
                        "org.jdbf.engine.xml.SAXConfigurationBuilder";
   /** Logger object */
   private Logger logger;

   /** root of this configuration */
   private Configuration root;

   /** Stack object */
   private Stack stack = new Stack();


   /**
    * 
    * Creates object
    *
    */
   public SAXConfigurationBuilder(){
       logger = Logger.getLogger(CLASS_NAME);  
   }
   
   
   /**
    *
    * Return the parsed configuration tree.
    *
	* @return Configuration
    */
   public Configuration getConfiguration() {
       return(this.root);
   }

   /**
    *
    * Receive notification of the beginning of an element.
    *
	* @param uri - The Namespace URI, or the empty string if the element has no 
	*         Namespace URI or if Namespace processing is not being performed.
	* @param localName - The local name (without prefix), or the empty string if 
	*        Namespace processing is not being performed.
	* @param name - The qualified name (with prefix), or the empty string if 
	*        qualified names are not available.
    * @param atts - The attributes attached to the element. If there are no 
	*         attributes, it shall be an empty Attributes object.
    * @throws SAXException - Any SAX exception, possibly wrapping another exception
    * 
    */
   public void startElement (String uri,String localName,
		                     String name, Attributes atts) throws SAXException{
       
       logger.log(Level.FINEST,Messages.format("SAXParser.startEle",name));
       ConfigurationImpl conf = new ConfigurationImpl(name);
  
       if (this.root == null) this.root = conf;

       if ( !stack.isEmpty() ){
           ((ConfigurationImpl)stack.peek()).addConfiguration(conf);
       }
       stack.push(conf);
   }


   /**
    *
    * Receive notification of the beginning of a document.
    *
    * @throws SAXException - Any SAX exception, possibly wrapping another exception
    */
   public void startDocument () throws SAXException{
       logger.log(Level.FINEST,Messages.message("SAXParser.startDoc"));
       root = null;        
	   stack.clear();
   }


   /**
    *
    * Receive notification of character data.
	*    
    * @param ch - The characters.
    * @param start - The start position in the character array.
    * @param len - The number of characters to use from the character array.
	*
    */
    public void characters(char ch[], int start, int len) {
        logger.log(Level.FINEST,Messages.message("SAXParser.readChar"));
        ConfigurationImpl c = (ConfigurationImpl) this.stack.peek();
		c.appendValueData( new String(ch,start,len) );		
    }


   /**
    *
    * Receive notification of the end of an element.
    *
	* @param uri - The Namespace URI, or the empty string if the element has no 
	*         Namespace URI or if Namespace processing is not being performed.
	* @param localName - The local name (without prefix), or the empty string if 
	*        Namespace processing is not being performed.
	* @param qName - The qualified name (with prefix), or the empty string if 
	*        qualified names are not available.   
    * @throws SAXException - Any SAX exception, possibly wrapping another exception
    */
    public void endElement (String uri, String localName, String qName) 
		throws SAXException{
		
		logger.log(Level.FINEST,Messages.format("SAXParser.endEle",qName));
		stack.pop();
    }
}

/*

 $Log: SAXConfigurationBuilder.java,v $
 Revision 1.6  2004/05/20 22:44:15  gmartone
 Changed for task 99073 (Coverage Javadocs)

 Revision 1.5  2004/01/25 11:34:45  gmartone
 task 66484 (Logging System)

 Revision 1.3  2003/11/15 16:46:28  lechertl
 task 88931, update to SAX 2 ready


*/

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品成人免费| 国产欧美一区二区精品婷婷| 精品国产乱码久久久久久浪潮| 亚洲欧洲成人av每日更新| 日本成人在线视频网站| caoporn国产精品| 久久先锋资源网| 午夜精品在线视频一区| av不卡免费电影| 久久午夜色播影院免费高清| 婷婷开心激情综合| 色悠悠久久综合| 中文一区一区三区高中清不卡| 美女国产一区二区三区| 在线观看三级视频欧美| 国产精品久久久久aaaa樱花| 狠狠色伊人亚洲综合成人| 欧美高清一级片在线| 亚洲欧美激情在线| 成年人午夜久久久| 国产女主播一区| 国产一区二区三区免费看 | 蜜臀av性久久久久av蜜臀妖精| 在线观看成人小视频| 亚洲尤物视频在线| 国产mv日韩mv欧美| 国产精品久久国产精麻豆99网站| 麻豆国产欧美一区二区三区| 日韩欧美久久一区| 午夜欧美一区二区三区在线播放| 91久久精品一区二区三区| 亚洲乱码国产乱码精品精98午夜| 99re这里只有精品6| 婷婷亚洲久悠悠色悠在线播放| 国产精品456露脸| 日韩一级在线观看| 日韩激情在线观看| 8x福利精品第一导航| 五月天激情小说综合| 亚洲国产成人高清精品| 色哟哟一区二区在线观看| 亚洲激情中文1区| 日韩精品一区二区三区四区视频 | 色av综合在线| 亚洲免费看黄网站| 91精品福利在线一区二区三区 | 欧美性猛片aaaaaaa做受| 久久精品一级爱片| 欧美日韩一区二区三区在线| 亚洲综合色网站| 国产亚洲精品aa| 国产高清亚洲一区| 久久综合999| 99久久久国产精品免费蜜臀| 亚洲精品高清视频在线观看| 最新热久久免费视频| 亚洲不卡一区二区三区| 日韩不卡一区二区三区 | 伊人婷婷欧美激情| 91成人在线免费观看| 亚洲一二三区视频在线观看| 欧美日本一道本在线视频| 日本vs亚洲vs韩国一区三区二区 | 日韩欧美激情在线| 国产在线精品一区二区三区不卡| 久久久久久久久久美女| 国产白丝精品91爽爽久久| 中文字幕欧美日韩一区| 91原创在线视频| 亚洲高清免费观看 | 成人天堂资源www在线| 国产精品麻豆网站| 欧美系列在线观看| 精品一区二区成人精品| 亚洲国产成人自拍| 91激情五月电影| 日本vs亚洲vs韩国一区三区二区 | 国产蜜臀97一区二区三区 | 久久99精品国产91久久来源| 国产午夜精品美女毛片视频| 成人精品视频网站| 亚洲一区影音先锋| 欧美电影免费观看高清完整版 | 免费精品99久久国产综合精品| 26uuu精品一区二区在线观看| 丁香一区二区三区| 亚洲愉拍自拍另类高清精品| 精品国产乱码久久久久久免费| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 337p亚洲精品色噜噜噜| 国产馆精品极品| 一区二区免费视频| 精品久久久久久无| 色婷婷国产精品综合在线观看| 三级欧美韩日大片在线看| 欧美激情一区二区三区蜜桃视频 | 成人一区二区三区中文字幕| 亚洲国产成人av网| 国产欧美精品区一区二区三区 | jizzjizzjizz欧美| 免费xxxx性欧美18vr| 中文字幕在线观看一区| 欧美成人三级在线| 一本久久a久久免费精品不卡| 精品一区二区影视| 一区二区成人在线视频| 久久综合久久综合亚洲| 欧美中文字幕一区| 国产99久久精品| 天天射综合影视| 国产精品乱码人人做人人爱| 欧美一级二级三级蜜桃| 色综合中文综合网| 久久精品一区二区| 欧美另类高清zo欧美| 成人激情动漫在线观看| 久久av资源站| 亚洲狠狠爱一区二区三区| 欧美激情中文不卡| 精品久久一二三区| 欧美日韩精品欧美日韩精品| 99视频一区二区| 国产一区二区三区综合| 丝袜亚洲精品中文字幕一区| 亚洲三级在线免费观看| 久久九九久久九九| 欧美一级艳片视频免费观看| 色激情天天射综合网| 国产成人免费视频| 另类小说色综合网站| 五月婷婷久久综合| 伊人色综合久久天天| 国产精品久久久久久久久免费相片 | 91久久精品一区二区二区| 成人一区在线看| 国产伦精品一区二区三区在线观看| 午夜精品久久久久久久久久| 亚洲男人天堂av| 中文字幕亚洲电影| 国产欧美一区二区三区在线老狼| 日韩女同互慰一区二区| 精品视频在线免费看| 色综合久久久久网| jlzzjlzz欧美大全| 成人午夜大片免费观看| 中文字幕在线一区| 6080日韩午夜伦伦午夜伦| 欧美综合久久久| 色悠久久久久综合欧美99| 一本久道中文字幕精品亚洲嫩| 成人精品鲁一区一区二区| 成人一区二区三区视频在线观看| 国产99精品国产| 国产成人免费视频精品含羞草妖精| 国产一区二区伦理片| 精品在线亚洲视频| 久久国内精品自在自线400部| 久久精品国产一区二区| 蜜桃视频在线观看一区二区| 美女www一区二区| 黑人巨大精品欧美黑白配亚洲| 老司机一区二区| 国内国产精品久久| 国产高清在线精品| 成人免费毛片高清视频| 波波电影院一区二区三区| a4yy欧美一区二区三区| 一本在线高清不卡dvd| 一本久久综合亚洲鲁鲁五月天 | 伦理电影国产精品| 久久精品国产网站| 国产一区中文字幕| 岛国精品在线观看| 99re在线精品| 欧美亚洲丝袜传媒另类| 欧美精品三级日韩久久| 欧美一区二区久久| 欧美成人vr18sexvr| 久久精品亚洲国产奇米99| 欧美国产一区二区| 亚洲免费观看在线视频| 亚洲一区二区三区四区五区黄 | 国产精品久久久久久久久免费丝袜| 国产精品网站在线播放| 亚洲人成精品久久久久久| 亚洲国产三级在线| 久久电影网站中文字幕| 国产成人免费在线观看不卡| 91免费版在线| 欧美美女直播网站| 欧美精品一区二| 中文字幕中文字幕在线一区| 亚洲成人av一区二区| 久久国产视频网| 成人黄色小视频| 欧美日韩精品一区二区在线播放| 精品国产一区二区三区久久影院| 亚洲国产成人在线| 亚洲成人av中文| 国产精品69久久久久水密桃|