From f57e99abdd1ea6bef7869cf9c1b0a97b8d096159 Mon Sep 17 00:00:00 2001
From: Alberto Massari <amassari@apache.org>
Date: Tue, 9 May 2006 15:46:10 +0000
Subject: [PATCH] Wrapper4InputSource was not updated to reflect the latest
 version of the DOMLSInput interface

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@405454 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/framework/Wrapper4InputSource.hpp | 25 ++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/src/xercesc/framework/Wrapper4InputSource.hpp b/src/xercesc/framework/Wrapper4InputSource.hpp
index 9cabed655..407933038 100644
--- a/src/xercesc/framework/Wrapper4InputSource.hpp
+++ b/src/xercesc/framework/Wrapper4InputSource.hpp
@@ -66,10 +66,10 @@ public:
     /** @name Virtual input source interface */
     //@{
   /**
-    * This wrapper doesn't support character streams
+    * This wrapper doesn't support string data
     *
     */
-    virtual const XMLCh* getCharacterStream() const;
+    virtual const XMLCh* getStringData() const;
 
   /**
     * Makes the byte stream for this input source.
@@ -147,6 +147,17 @@ public:
     // -----------------------------------------------------------------------
     /** @name Setter methods */
     //@{
+  /**
+    * This wrapper only exposes the given InputSource, no setting allowed
+    *
+    */
+    virtual void setStringData(const XMLCh* data);
+
+  /**
+    * This wrapper only exposes the given InputSource, no setting allowed
+    *
+    */
+    virtual void setByteStream(InputSource* stream);
 
   /**
     * Set the encoding which will be required for use with the XML text read
@@ -254,7 +265,7 @@ inline const XMLCh* Wrapper4InputSource::getBaseURI() const
     return 0; // REVISIT - should we return an empty string?
 }
 
-inline const XMLCh* Wrapper4InputSource::getCharacterStream() const
+inline const XMLCh* Wrapper4InputSource::getStringData() const
 {
     return 0;
 }
@@ -266,6 +277,14 @@ inline void Wrapper4InputSource::setBaseURI(const XMLCh* const)
 {
 }
 
+inline void Wrapper4InputSource::setStringData(const XMLCh*)
+{
+}
+
+inline void Wrapper4InputSource::setByteStream(InputSource*)
+{
+}
+
 XERCES_CPP_NAMESPACE_END
 
 #endif
-- 
GitLab