8022753: SQLXML javadoc example typo

Reviewed-by: alanb, mchung
This commit is contained in:
Lance Andersen 2013-08-12 16:09:24 -04:00
parent 4f76f09719
commit d12a32baab

View File

@ -98,7 +98,7 @@ import javax.xml.transform.Source;
* or, to set the result value from SAX events:
* <pre>
* SAXResult saxResult = sqlxml.setResult(SAXResult.class);
* ContentHandler contentHandler = saxResult.getXMLReader().getContentHandler();
* ContentHandler contentHandler = saxResult.getHandler();
* contentHandler.startDocument();
* // set the XML elements and attributes into the result
* contentHandler.endDocument();