From bfd2074d25af07be0e341939051a5c8f7a954449 Mon Sep 17 00:00:00 2001 From: lancea Date: Mon, 12 Aug 2013 16:09:24 -0400 Subject: [PATCH] 8022753: SQLXML javadoc example typo Reviewed-by: alanb, mchung --- src/share/classes/java/sql/SQLXML.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/classes/java/sql/SQLXML.java b/src/share/classes/java/sql/SQLXML.java index 2acc5d1d3..7234bf5da 100644 --- a/src/share/classes/java/sql/SQLXML.java +++ b/src/share/classes/java/sql/SQLXML.java @@ -98,7 +98,7 @@ import javax.xml.transform.Source; * or, to set the result value from SAX events: *
  *   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();
-- 
GitLab