All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
   |
   +----org.xml.sax.HandlerBase
           |
           +----oracle.xml.parser.v2.DefaultXMLDocumentHandler
This class implements the default behaviour for the 
 XMLDocumentHandler interface.
 
Application writers can extend this class when they need to implement only part of the interface
 
 DefaultXMLDocumentHandler()
	DefaultXMLDocumentHandler()
   
 cDATASection(char[], int, int)
	cDATASection(char[], int, int)
   characters(char[], int, int)
	characters(char[], int, int)
   comment(String)
	comment(String)
   endDoctype()
	endDoctype()
   endDocument()
	endDocument()
   endElement(NSName)
	endElement(NSName)
   endElement(String)
	endElement(String)
   ignorableWhitespace(char[], int, int)
	ignorableWhitespace(char[], int, int)
   processingInstruction(String, String)
	processingInstruction(String, String)
   setDoctype(DTD)
	setDoctype(DTD)
   setDocumentLocator(Locator)
	setDocumentLocator(Locator)
   setTextDecl(String, String)
	setTextDecl(String, String)
   setXMLDecl(String, String, String)
	setXMLDecl(String, String, String)
   startDocument()
	startDocument()
   startElement(NSName, SAXAttrList)
	startElement(NSName, SAXAttrList)
   startElement(String, AttributeList)
	startElement(String, AttributeList)
   
 DefaultXMLDocumentHandler
DefaultXMLDocumentHandler
public DefaultXMLDocumentHandler()
 
 startElement
startElement
 public void startElement(NSName elem,
                          SAXAttrList attrlist) throws SAXException
 By implementing this method instead of 
 org.xml.sax.DocumentHandler.startElement, SAX Applications 
 can get the Namespace support provided by NSName and 
 SAXAttrList.
SAXException could be thrown.
     startElement
startElement
 public void startElement(String elem,
                          AttributeList attrlist) throws SAXException
 endElement
endElement
public void endElement(NSName elem) throws SAXException
 By implementing this method instead of 
 org.xml.sax.DocumentHandler.endElement, SAX Applications 
 can get the Namespace support provided by NSName.
SAXException could be thrown.
     endElement
endElement
public void endElement(String elem) throws SAXException
 setDocumentLocator
setDocumentLocator
public void setDocumentLocator(Locator locator)
By default, do nothing. Application writers may override this method in a subclass if they wish to store the locator for use with other document events.
 startDocument
startDocument
public void startDocument() throws SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).
 endDocument
endDocument
public void endDocument() throws SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as finalising a tree or closing an output file).
 setDoctype
setDoctype
public void setDoctype(DTD dtd) throws SAXException
 endDoctype
endDoctype
public void endDoctype() throws SAXException
 characters
characters
 public void characters(char ch[],
                        int start,
                        int length) throws SAXException
By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
 setXMLDecl
setXMLDecl
 public void setXMLDecl(String version,
                        String standalone,
                        String encoding) throws SAXException
The Parser will invoke this method once for XML Decl
 setTextDecl
setTextDecl
 public void setTextDecl(String version,
                         String encoding) throws SAXException
The Parser will invoke this method once for each text XML Decl
 comment
comment
public void comment(String data) throws SAXException
The Parser will invoke this method once for each comment found: note that comment may occur before or after the main document element.
 cDATASection
cDATASection
 public void cDATASection(char ch[],
                          int start,
                          int length) throws SAXException
The Parser will invoke this method once for each CDATA Section found.
 ignorableWhitespace
ignorableWhitespace
 public void ignorableWhitespace(char ch[],
                                 int start,
                                 int length) throws SAXException
By default, do nothing. Application writers may override this method to take specific actions for each chunk of ignorable whitespace (such as adding data to a node or buffer, or printing it to a file).
 processingInstruction
processingInstruction
 public void processingInstruction(String target,
                                   String data) throws SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions for each processing instruction, such as setting status variables or invoking other methods.
All Packages Class Hierarchy This Package Previous Next Index