78
|
1 |
/*
|
|
2 |
* StxXercesInputSource.h
|
|
3 |
*
|
|
4 |
* Created on: Dec 8, 2008
|
|
5 |
* Author: honza
|
|
6 |
*/
|
|
7 |
|
|
8 |
#ifndef STXINPUTSOURCE_H_
|
|
9 |
#define STXINPUTSOURCE_H_
|
|
10 |
|
|
11 |
#include "StxCPPUtils.h"
|
|
12 |
#include "StxXercesInputStream.hpp"
|
|
13 |
#include <xercesc/sax/InputSource.hpp>
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
class StxXercesInputSource : public xercesc_2_8::InputSource {
|
|
18 |
|
|
19 |
protected:
|
|
20 |
StxXercesInputStream* input_stream;
|
|
21 |
|
|
22 |
public:
|
|
23 |
StxXercesInputSource(OBJ stx_stream);
|
|
24 |
|
|
25 |
virtual ~StxXercesInputSource();
|
|
26 |
|
|
27 |
BinInputStream* makeStream() const;
|
|
28 |
};
|
|
29 |
|
|
30 |
#endif /* MYINPUTSOURCE_H_ */
|