// Copyright (c) 1999 Matthias Clasen // See the file copying.txt for copying permission. #ifndef DocumentGenerator_INCLUDED #define DocumentGenerator_INCLUDED 1 #include "config.h" #include "Node.h" #include #ifdef DSSSL_NAMESPACE namespace DSSSL_NAMESPACE { #endif #ifdef GROVE_NAMESPACE using namespace GROVE_NAMESPACE; #endif class DocumentGenerator { public: DocumentGenerator(SdataMapper *, OutputCharStream *); void emit(const NodePtr &); private: void emit(const NodeListPtr &, const GroveString &); void emit(const GroveStringListPtr &, const char *, const char *, const char *); OutputCharStream &os() { return *os_; } Owner os_; SdataMapper *smap_; }; #ifdef DSSSL_NAMESPACE } #endif #endif /* not DocumentGenerator_INCLUDED */