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 Locator, InputSource  String
getSystemId Locator, InputSource  String
getType AttributeList int i or String name String
getValue AttributeList int i or String name String
ignorableWhitespace DocumentHandler char ch[], int start, int length void
InputSource InputSource NONE or String SysId or InputStream byteStream or Reader charStream  
notationDecl DTDHandler String name, String pubId, String sysId void
parse Parser InputSource src, or String url void
processingInstruction DocumentHandler String target, String data void
resolveEntity Entityresolver String pubId, String sysId InputSource
getByteStream InputSource InputStream byteStream InputStream
setByteStream InputSource InputStream byteStream void
setCharacterStream InputSource Reader charStream void
setDocumentHandler Parser DocumentHandler dh void
setDocumentLocator DocumentHandler Locator myLoc void
setDTDHandler Parser DTDHandler dtdh void
setEncoding InputSource String encoding void
setEntityResolver Parser EntityResolver er void
setErrorHandler Parser ErrorHandler eh void
setLocale Parser Locale loc void
setPublicId InputSource String pubId void
setSystemId InputSource String sysId void
startDocument DocumentHandler  void
startElement DocumentHandler  void
unparsedEntityDecl DTDHandler String name, String pubId, String sysId, String notaName void
warning ErrorHandler SAXParseException err void

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.174.76