From abc8ac06c3317c51e8a7c7ed8020d0bc1760a565 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 14 Aug 2026 03:25:08 -0500 Subject: [PATCH 1/2] Document Javax.Xml.Parsers APIs Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../xml/Javax.Xml.Parsers/DocumentBuilder.xml | 21 +++++++++++-- .../DocumentBuilderFactory.xml | 4 +-- docs/xml/Javax.Xml.Parsers/SAXParser.xml | 30 +++++++++++++++---- .../Javax.Xml.Parsers/SAXParserFactory.xml | 4 +-- docs/xml/ns-Javax.Xml.Parsers.xml | 2 +- 5 files changed, 48 insertions(+), 13 deletions(-) diff --git a/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml b/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml index 126b4b3b8..15e7b4e7a 100644 --- a/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml +++ b/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml @@ -130,8 +130,13 @@ Obtain an instance of a object. - To be added. + A new object. + + + Java documentation for javax.xml.parsers.DocumentBuilder.getDOMImplementation(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -159,8 +164,13 @@ Indicates whether or not this parser is configured to understand namespaces. - To be added. + true if the parser is configured to understand namespaces; otherwise, false. + + + Java documentation for javax.xml.parsers.DocumentBuilder.isNamespaceAware(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -188,8 +198,13 @@ Indicates whether or not this parser is configured to validate XML documents. - To be added. + true if the parser is configured to validate XML documents; otherwise, false. + + + Java documentation for javax.xml.parsers.DocumentBuilder.isValidating(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. diff --git a/docs/xml/Javax.Xml.Parsers/DocumentBuilderFactory.xml b/docs/xml/Javax.Xml.Parsers/DocumentBuilderFactory.xml index 938081606..14caded9c 100644 --- a/docs/xml/Javax.Xml.Parsers/DocumentBuilderFactory.xml +++ b/docs/xml/Javax.Xml.Parsers/DocumentBuilderFactory.xml @@ -634,8 +634,8 @@ - To be added. - To be added. + The fully qualified name of the factory class that provides the implementation. + The class loader used to load the factory class, or null to use the current thread's context class loader. Returns an instance of the named implementation of DocumentBuilderFactory. a new DocumentBuilderFactory. diff --git a/docs/xml/Javax.Xml.Parsers/SAXParser.xml b/docs/xml/Javax.Xml.Parsers/SAXParser.xml index 0c05a3bc1..197133136 100644 --- a/docs/xml/Javax.Xml.Parsers/SAXParser.xml +++ b/docs/xml/Javax.Xml.Parsers/SAXParser.xml @@ -195,8 +195,13 @@ Indicates whether or not this parser is configured to understand namespaces. - To be added. + true if the parser is configured to understand namespaces; otherwise, false. + + + Java documentation for javax.xml.parsers.SAXParser.isNamespaceAware(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -224,8 +229,13 @@ Indicates whether or not this parser is configured to validate XML documents. - To be added. + true if the parser is configured to validate XML documents; otherwise, false. + + + Java documentation for javax.xml.parsers.SAXParser.isValidating(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -304,9 +314,14 @@ Java.Interop.JniPeerMembers - To be added. - To be added. + Returns the SAX parser encapsulated by this implementation. + The SAX parser encapsulated by this implementation. + + + Java documentation for javax.xml.parsers.SAXParser.getParser(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -1188,8 +1203,13 @@ Returns the SAX parser that is encapsulated by the implementation of this class. - To be added. + The encapsulated by this implementation. + + + Java documentation for javax.xml.parsers.SAXParser.getXMLReader(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. diff --git a/docs/xml/Javax.Xml.Parsers/SAXParserFactory.xml b/docs/xml/Javax.Xml.Parsers/SAXParserFactory.xml index 29db7dc1f..59471d6b4 100644 --- a/docs/xml/Javax.Xml.Parsers/SAXParserFactory.xml +++ b/docs/xml/Javax.Xml.Parsers/SAXParserFactory.xml @@ -307,8 +307,8 @@ - To be added. - To be added. + The fully qualified name of the factory class that provides the implementation. + The class loader used to load the factory class, or null to use the current thread's context class loader. Returns an instance of the named implementation of SAXParserFactory. a new SAXParserFactory. diff --git a/docs/xml/ns-Javax.Xml.Parsers.xml b/docs/xml/ns-Javax.Xml.Parsers.xml index dbb96002e..9d44574fd 100644 --- a/docs/xml/ns-Javax.Xml.Parsers.xml +++ b/docs/xml/ns-Javax.Xml.Parsers.xml @@ -1,6 +1,6 @@ - To be added. + Provides classes for processing XML documents with SAX parsers or DOM document builders. From e16ab16ce7c182b511649258054d78f30831bba9 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 14 Aug 2026 03:36:25 -0500 Subject: [PATCH 2/2] Address parser documentation review Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../xml/Javax.Xml.Parsers/DocumentBuilder.xml | 2 +- docs/xml/Javax.Xml.Parsers/SAXParser.xml | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml b/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml index 15e7b4e7a..b4d1cfea0 100644 --- a/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml +++ b/docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml @@ -130,7 +130,7 @@ Obtain an instance of a object. - A new object. + A object. diff --git a/docs/xml/Javax.Xml.Parsers/SAXParser.xml b/docs/xml/Javax.Xml.Parsers/SAXParser.xml index 197133136..d696a5044 100644 --- a/docs/xml/Javax.Xml.Parsers/SAXParser.xml +++ b/docs/xml/Javax.Xml.Parsers/SAXParser.xml @@ -314,14 +314,9 @@ Java.Interop.JniPeerMembers - Returns the SAX parser encapsulated by this implementation. - The SAX parser encapsulated by this implementation. + Gets the JNI metadata used to invoke members of this Java peer. + The JNI peer members for SAXParser. - - - Java documentation for javax.xml.parsers.SAXParser.getParser(). - - Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -1203,11 +1198,11 @@ Returns the SAX parser that is encapsulated by the implementation of this class. - The encapsulated by this implementation. + The SAX parser encapsulated by this implementation. - Java documentation for javax.xml.parsers.SAXParser.getXMLReader(). + Java documentation for javax.xml.parsers.SAXParser.getParser(). Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -1451,8 +1446,13 @@ Returns the that is encapsulated by the implementation of this class. - To be added. + The encapsulated by this implementation. + + + Java documentation for javax.xml.parsers.SAXParser.getXMLReader(). + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.