File indexing completed on 2025-01-30 10:27:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #if !defined(XERCESC_INCLUDE_GUARD_DOMLSOUTPUTIMPL_HPP)
0023 #define XERCESC_INCLUDE_GUARD_DOMLSOUTPUTIMPL_HPP
0024
0025 #include <xercesc/dom/DOM.hpp>
0026 #include <xercesc/dom/DOMLSOutput.hpp>
0027
0028 XERCES_CPP_NAMESPACE_BEGIN
0029
0030 class CDOM_EXPORT DOMLSOutputImpl : public XMemory, public DOMLSOutput
0031 {
0032
0033 public:
0034
0035 DOMLSOutputImpl(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
0036 ~DOMLSOutputImpl();
0037
0038 virtual XMLFormatTarget* getByteStream() const;
0039 virtual const XMLCh* getEncoding() const;
0040 virtual const XMLCh* getSystemId() const;
0041
0042 virtual void setByteStream(XMLFormatTarget* stream);
0043 virtual void setEncoding(const XMLCh* const encodingStr);
0044 virtual void setSystemId(const XMLCh* const systemId);
0045
0046 virtual void release();
0047
0048 private:
0049
0050
0051 DOMLSOutputImpl(const DOMLSOutputImpl&);
0052 DOMLSOutputImpl & operator = (const DOMLSOutputImpl&);
0053
0054 protected:
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069 XMLFormatTarget *fByteStream;
0070 XMLCh *fEncoding;
0071 XMLCh *fSystemId;
0072 MemoryManager* fMemoryManager;
0073 };
0074
0075 inline XMLFormatTarget* DOMLSOutputImpl::getByteStream() const
0076 {
0077 return fByteStream;
0078 }
0079
0080 inline const XMLCh* DOMLSOutputImpl::getEncoding() const
0081 {
0082 return fEncoding;
0083 }
0084
0085 inline const XMLCh* DOMLSOutputImpl::getSystemId() const
0086 {
0087 return fSystemId;
0088 }
0089
0090 XERCES_CPP_NAMESPACE_END
0091
0092 #endif