Difference between Pull Parsing and Push Parsing: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* [[JAXP_SAX#Difference_between_Pull_Parsing_and_Push_Parsing|SAX]] | * [[JAXP_SAX#Difference_between_Pull_Parsing_and_Push_Parsing|SAX]] | ||
* [[JAXP_StAX#Difference_between_Pull_Parsing_and_Push_Parsing|SAX]] | * [[JAXP_StAX#Difference_between_Pull_Parsing_and_Push_Parsing|SAX]] | ||
=Overview= | |||
Streaming ''pull parsing'' refers to a programming model in which a client application calls a "next element"-type method on a parser. | |||
Streaming ''push parsing'' refers to a programming model in which a parser sends (pushes) data to the client when the parser encounters an "interesting" structure. |
Revision as of 01:04, 11 November 2016
Internal
Overview
Streaming pull parsing refers to a programming model in which a client application calls a "next element"-type method on a parser.
Streaming push parsing refers to a programming model in which a parser sends (pushes) data to the client when the parser encounters an "interesting" structure.