Class JDBC4MysqlSQLXML.SimpleSaxToReader
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.mysql.jdbc.JDBC4MysqlSQLXML.SimpleSaxToReader
- All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Enclosing class:
JDBC4MysqlSQLXML
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] buf, int offset, int len) voidcomment(char[] ch, int start, int length) voidendCDATA()voidvoidignorableWhitespace(char[] ch, int start, int length) voidvoidvoidstartElement(String namespaceURI, String sName, String qName, Attributes attrs) (package private) ReadertoReader()Methods inherited from class DefaultHandler
endElement, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declaration
-
Field Details
-
buf
StringBuilder buf
-
-
Constructor Details
-
SimpleSaxToReader
SimpleSaxToReader()
-
-
Method Details
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespacein interfaceContentHandler- Overrides:
ignorableWhitespacein classDefaultHandler- Throws:
SAXException
-
startCDATA
- Throws:
SAXException
-
endCDATA
- Throws:
SAXException
-
comment
- Throws:
SAXException
-
toReader
Reader toReader()
-