summaryrefslogtreecommitdiff
path: root/ACEXML/common/InputSource.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /ACEXML/common/InputSource.cpp
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'ACEXML/common/InputSource.cpp')
-rw-r--r--ACEXML/common/InputSource.cpp100
1 files changed, 0 insertions, 100 deletions
diff --git a/ACEXML/common/InputSource.cpp b/ACEXML/common/InputSource.cpp
deleted file mode 100644
index 0dcdeb0f2ba..00000000000
--- a/ACEXML/common/InputSource.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-// -*- C++ -*- $Id$
-
-#include "ACEXML/common/InputSource.h"
-#include "ace/ACE.h"
-
-ACEXML_InputSource::ACEXML_InputSource (void)
- : publicId_ (0),
- systemId_ (0),
- charStream_ (0),
- encoding_ (0)
-{
-}
-
-ACEXML_InputSource::ACEXML_InputSource (ACEXML_CharStream *stm)
- : publicId_ (0),
- systemId_ (0),
- charStream_ (stm),
- encoding_ (0)
-{
- this->setEncoding (stm->getEncoding());
-}
-
- /*
- * Create a new input source with a character stream.
- * /
- InputSource (Reader);
- */
-
-ACEXML_InputSource::ACEXML_InputSource (const ACEXML_Char *systemId)
- : systemId_ (ACE::strnew (systemId))
-{
-}
-
-ACEXML_InputSource::~ACEXML_InputSource (void)
-{
- delete[] this->publicId_;
- delete[] this->systemId_;
- delete this->charStream_;
- delete[] this->encoding_;
-}
-
-ACEXML_CharStream *
-ACEXML_InputSource::getCharStream (void)
-{
- return this->charStream_;
-}
-
- /*
- * Get the character stream for this input source.
- * /
- virtual Reader *getCharacterStream (void);
- */
-
-const ACEXML_Char *
-ACEXML_InputSource::getEncoding (void)
-{
- return this->encoding_;
-}
-
-const ACEXML_Char *
-ACEXML_InputSource::getPublicId (void)
-{
- return this->publicId_;
-}
-
-const ACEXML_Char *
-ACEXML_InputSource::getSystemId (void)
-{
- return this->systemId_;
-}
-
-void
-ACEXML_InputSource::setCharStream (ACEXML_CharStream *stm)
-{
- delete this->charStream_;
- this->charStream_ = stm;
-}
-
- /*
- * Set the character stream for this input source.
- *
- */
-
-void
-ACEXML_InputSource::setEncoding (const ACEXML_Char *encoding)
-{
- this->encoding_ = ACE::strnew (encoding);
-}
-
-void
-ACEXML_InputSource::setPublicId (const ACEXML_Char *publicId)
-{
- this->publicId_ = ACE::strnew (publicId);
-}
-
-void
-ACEXML_InputSource::setSystemId (const ACEXML_Char *systemId)
-{
- this->systemId_ = ACE::strnew (systemId);
-}