peiyongz 2004/09/30 07:07:43
Modified: c/src/xercesc/sax2 SAX2XMLReader.hpp
Log:
setInputBufferSize
Revision Changes Path
1.12 +15 -0 xml-xerces/c/src/xercesc/sax2/SAX2XMLReader.hpp
Index: SAX2XMLReader.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax2/SAX2XMLReader.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- SAX2XMLReader.hpp 8 Sep 2004 13:56:20 -0000 1.11
+++ SAX2XMLReader.hpp 30 Sep 2004 14:07:43 -0000 1.12
@@ -16,6 +16,9 @@
/*
* $Log$
+ * Revision 1.12 2004/09/30 14:07:43 peiyongz
+ * setInputBufferSize
+ *
* Revision 1.11 2004/09/08 13:56:20 peiyongz
* Apache License Version 2.0
*
@@ -922,6 +925,18 @@
* Clear the cached grammar pool
*/
virtual void resetCachedGrammarPool() = 0;
+
+ /** Set maximum input buffer size
+ *
+ * This method allows users to limit the size of buffers used in parsing
+ * XML character data. The effect of setting this size is to limit the
+ * size of a ContentHandler::characters() call.
+ *
+ * The parser's default input buffer size is 1 megabyte.
+ *
+ * @param bufferSize The maximum input buffer size
+ */
+ void setInputBufferSize(const size_t bufferSize) {};
//@}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]