SAX 1.0 methods

The following table shows all the methods in the SAX API, in alphabetical order, the interfaces or classes they are defined in, the parameters they take and their return values:

Method Interface/Class Parameters Return value
characters DocumentHandler char ch[], int start, int length void
endDocument DocumentHandler  void
endElement DocumentHandler  void
error ErrorHandler SAXParseException err void
fatalError ErrorHandler SAXParseException err void
getByteStream InputSource InputStream byteStream InputStream
getCharacterStream InputSource Reader charStream Reader
getColumnNumber Locator  int
getEncoding InputSource  String
getLength AttributeList  int
getLineNumber Locator  int
getName AttributeList int i String
getPublicId ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.