SAXParser - Oracle 9i

Syntax

All Implemented Interfaces

org.xml.sax.Parser, oracle.xml.parser.v2.XMLConstants

Description
This class implements an eXtensible Markup Language (XML) 1.0 SAX parser according to the World Wide Web Consortium (W3C) recommendation. Applications can register a SAX handler to receive notification of various parser events.

SAXParser

inherited member summary

inherited member summary

inherited member summary

Constructor
SAXParser()

public SAXParser() Creates a new parser object.

Methods
setDocumentHandler(DocumentHandler)

public void setDocumentHandler(org.xml.sax.DocumentHandler handler)

SAX applications can use this to register a new document event handler.

Specified By

org.xml.sax.Parser.setDocumentHandler(DocumentHandler) in interface org.xml.sax.Parser

Parameters
handler - DocumentHandler being registered

See Also
org.xml.sax.Parser.setDocumentHandler(DocumentHandler), org.xml.sax.DocumentHandler

setDTDHandler(DTDHandler)

public void setDTDHandler(org.xml.sax.DTDHandler handler) SAX applications can use this to register a new DTD event handler.

Specified By
org.xml.sax.Parser.setDTDHandler(DTDHandler) in interface org.xml.sax.Parser

Parameters
handler - DTDHandler being registered

See Also
org.xml.sax.Parser.setDTDHandler(DTDHandler), org.xml.sax.DTDHandler

setEntityResolver(EntityResolver)

public void setEntityResolver(org.xml.sax.EntityResolver resolver) SAX applications can use this to register a new entity resolver

Specified By
org.xml.sax.Parser.setEntityResolver(EntityResolver) in interface org.xml.sax.Parser

Parameters
resolver - EntityResolver being registered

See Also
org.xml.sax.Parser.setEntityResolver(EntityResolver), org.xml.sax.DTDHandler

setErrorHandler(ErrorHandler)

public void setErrorHandler(org.xml.sax.ErrorHandler handler)

SAX applications can use this to register a new error event handler. This replaces any previous setting for error handling.

Specified By
org.xml.sax.Parser.setErrorHandler(ErrorHandler) in interface org.xml.sax.Parser

Parameters
handler - ErrorHandler being registered

See Also
org.xml.sax.Parser.setErrorHandler(ErrorHandler), org.xml.sax.ErrorHandler


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics