• Post Reply Bookmark Topic Watch Topic
  • New Topic

DefaultHandler class  RSS feed

 
Sharmistha Sarkar
Ranch Hand
Posts: 50
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am trying to understand what DefaultHandler class does in SAX parsing?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the API documentation? You can find it by clicking on the link: DefaultHandler

Class DefaultHandler implements a number of handler interfaces for SAX parsing events. Most of the methods in this class do nothing. The point is that if you define your own handler class which extends your class, you'll only have to implement the methods that you're interested in, so that you don't have to implement all the methods declared in the interfaces.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!