changeset 7865:cc64a05836a7

8022753: SQLXML javadoc example typo Reviewed-by: alanb, mchung
author lancea
date Mon, 12 Aug 2013 16:09:24 -0400
parents 7758bcf0ab6b
children 5b14d702b0b8 818c3f82269c
files src/share/classes/java/sql/SQLXML.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/sql/SQLXML.java	Mon Aug 12 12:11:04 2013 -0700
+++ b/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();