You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/07/27 22:24:22 UTC
cvs commit: xml-xerces/c/src/parsers DOMParser.hpp SAXParser.hpp
tng 01/07/27 13:24:22
Modified: c/src/parsers DOMParser.hpp SAXParser.hpp
Log:
put getScanner() back as they were there before, not to break existing apps.
Revision Changes Path
1.27 +15 -1 xml-xerces/c/src/parsers/DOMParser.hpp
Index: DOMParser.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/parsers/DOMParser.hpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- DOMParser.hpp 2001/07/16 13:15:07 1.26
+++ DOMParser.hpp 2001/07/27 20:24:21 1.27
@@ -55,7 +55,7 @@
*/
/*
- * $Id: DOMParser.hpp,v 1.26 2001/07/16 13:15:07 tng Exp $
+ * $Id: DOMParser.hpp,v 1.27 2001/07/27 20:24:21 tng Exp $
*
*/
@@ -195,6 +195,15 @@
*/
const EntityResolver* getEntityResolver() const;
+ /** Get a const reference to the underlying scanner
+ *
+ * This method returns a reference to the underlying scanner object.
+ * It allows read only access to data maintained in the scanner.
+ *
+ * @return A const reference to the underlying scanner object.
+ */
+ const XMLScanner& getScanner() const;
+
/** Get a const reference to the validator
*
* This method returns a reference to the parser's installed
@@ -1416,6 +1425,11 @@
inline bool DOMParser::getIncludeIgnorableWhitespace() const
{
return fIncludeIgnorableWhitespace;
+}
+
+inline const XMLScanner& DOMParser::getScanner() const
+{
+ return *fScanner;
}
inline bool DOMParser::getToCreateXMLDeclTypeNode() const
1.19 +16 -0 xml-xerces/c/src/parsers/SAXParser.hpp
Index: SAXParser.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/parsers/SAXParser.hpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- SAXParser.hpp 2001/07/16 12:52:09 1.18
+++ SAXParser.hpp 2001/07/27 20:24:21 1.19
@@ -56,6 +56,9 @@
/*
* $Log: SAXParser.hpp,v $
+ * Revision 1.19 2001/07/27 20:24:21 tng
+ * put getScanner() back as they were there before, not to break existing apps.
+ *
* Revision 1.18 2001/07/16 12:52:09 tng
* APIDocs fix: default for schema processing in DOMParser, IDOMParser, and SAXParser should be false.
*
@@ -244,6 +247,14 @@
const ErrorHandler* getErrorHandler() const;
/**
+ * This method returns a reference to the underlying scanner object.
+ * It allows read only access to data maintained in the scanner.
+ *
+ * @return A const reference to the underlying scanner object.
+ */
+ const XMLScanner& getScanner() const;
+
+ /**
* This method returns a reference to the parser's installed
* validator.
*
@@ -1469,6 +1480,11 @@
inline const ErrorHandler* SAXParser::getErrorHandler() const
{
return fErrorHandler;
+}
+
+inline const XMLScanner& SAXParser::getScanner() const
+{
+ return *fScanner;
}
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org