|
|
Syntax
public interface XMLDocumentHandler extends org.xml.sax.DocumentHandlerAllSuperinterfaces
org.xml.sax.DocumentHandlerAll Known Implementing Classes
Package oracle.xml.parser.v2Description
This interface extends the org.xml.sax.DocumentHandler interface. SAXApplications requiring Namespace support must implement this
interface and register with the SAX Parser via Parser.setDocumentHandler().
Methods
cDATASection(char[ ], int, int)
Parameters
ch - The CDATA section characters. start - The start position in the character array. length - The number of characters to use from the character array.Throws
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.comment(String)
public void comment(java.lang.String data)Receive notification of a comment.
The Parser will invoke this method once for each comment found note that comment may occur before or after the main document element.
Parameters
data - The comment data, or null if none was supplied.Throws
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.endDoctype()
public void endDoctype()Receive notification of end of the DTD.
Throws
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.endElement(NSName)
public void endElement(NSName elem)Receive notification of the end of an element. The SAX parser will invoke this method at the end of every element in the XML document; there will be a corresponding startElement() event for every endElement() event (even when the element is empty).
By implementing this method instead of
org.xml.sax.DocumentHandler.endElement, SAX Applications can get theNamespace support provided by NSName.
Parameters
elem - NSName objectThrows
org.xml.sax.SAXException - A SAXException could be thrown.setDoctype(DTD)
public void setDoctype(DTD dtd) Receive notification of a DTD (Document Type node).The Parser will invoke this method after calling startDocument to register the DTD used.
Parameters
DTD - The DTD nodeThrows
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.setTextDecl(String, String)
public void setTextDecl(java.lang.String version, java.lang.String encoding)Receive notification of a Text XML Declaration.
The Parser will invoke this method once for each text XML Decl
Parameters
version - The version number (or null, if not specified) encoding - The encoding nameThrows
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.setXMLDecl(String, String, String)
public void setXMLDecl(java.lang.String version, java.lang.String standalone, java.lang.String encoding)Receive notification of a XML Declaration.
The Parser will invoke this method once for XML Decl
Parameters
version - The version number standalone - The standalone value (or null, if not specifed) encoding - The encoding name (or null, if not specifed)Throws
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.startElement(NSName, SAXAttrList)
public void startElement(NSName elem, SAXAttrList attrlist)Receive notification of the beginning of an element. The Parser will invoke this method at the beginning of every element in the XML document; there will be a corresponding endElement() event for every startElement() event (even when the element is empty). All of the element's content will be reported, inorder, before the corresponding endElement() event.
By implementing this method instead of
org.xml.sax.DocumentHandler.startElement, SAX Applications can get the Namespace support provided by NSName and SAXAttrList.Parameters
elem - NSName object attrlist - SAXAttrList for the elementThrows
org.xml.sax.SAXException - A SAXException could be thrown.
|
|
Oracle 9i Related Tutorials |
|
---|---|
Oracle 10g Tutorial | Oracle 8i Tutorial |
Informatica Tutorial | Oracle 11g Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.