SAX Parser Introduction

Tutorials Shared by the Internet Community



SAX Parser Introduction - Java Tutorials Corner


  • Total Hits - 27215

  • Total Votes - 8 votes

  • Vote Up - 4 votes

  • Vote Down - 4 votes

  • Domain -

  • Category - JAVA/Java XML

  • Submitted By - Appu T

  • Submitted on - 2014-03-15 11:48:56


SAX – Simple API for XML SAX parser work differently with DOM parser.SAX parser is faster and uses less memory than DOM parser.SAX don’t load and XML document into memory and don’t create any object representation of XML document instead, SAX is use the event-driven model its provides callback method and the parser invokes them as it reads the XML data. Using SAX parser you can’t back up to an earlier part of document or rearrange it, any more than you can back up the serial data stream or rearrange characters you have read from than... ...

Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down