摘要:
一、SAX解析 1、繼承DefaultHandler類,重寫startDocument、startElement、character、endElement、endDocument方法,startDocument在讀取時(shí)調(diào)用,可寫一些實(shí)例化列表等;startElement在讀取每個(gè)標(biāo)簽時(shí)調(diào)用,通過判斷... 閱讀全文
posted @ 2012-08-06 20:31
ok_lanyan
閱讀(885)
評(píng)論(0)
推薦(0)

浙公網(wǎng)安備 33010602011771號(hào)