8022753: SQLXML javadoc example typo
authorlancea
Mon, 12 Aug 2013 16:09:24 -0400
changeset 19389 044bdfe2b361
parent 19388 188246066dbb
child 19390 071b67eb2d0d
child 19391 58802f86adfa
8022753: SQLXML javadoc example typo Reviewed-by: alanb, mchung
jdk/src/share/classes/java/sql/SQLXML.java
--- a/jdk/src/share/classes/java/sql/SQLXML.java	Mon Aug 12 12:11:04 2013 -0700
+++ b/jdk/src/share/classes/java/sql/SQLXML.java	Mon Aug 12 16:09:24 2013 -0400
@@ -98,7 +98,7 @@
  * 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();