#include <xslCompiler.hpp>

Public Member Functions | |
| XSLCompiler (const std::string &_xslScriptFileName, FormatterListener::eFormat _format, const std::string &_outputEncoding, const std::string &_schemaURI, const std::string &_emptyResult="", XSLParseErrorHandlerPtr _xslParseErrorHandler=XSLParseErrorHandlerPtr(new XSLParseErrorHandler)) throw (Error) | |
| Constructor. | |
| virtual | ~XSLCompiler (void) |
| Destructor. | |
| virtual void | translate (std::istream &inputStream, std::ostream &outputStream) const throw (Error) |
| void | setEmptyResult (const std::string &_emptyResult) |
| void | setParseErrorHandler (XSLParseErrorHandlerPtr _xslParseErrorHandler) |
| void | setParam (const std::string &name, const std::string &value) |
| bool | clearParam (const std::string &name) |
Protected Attributes | |
| std::string | xslScriptFileName |
| FormatterListener::eFormat | format |
| XalanTransformer | theXalanTransformer |
| const XalanCompiledStylesheet * | compiledStyleSheet |
| std::string | outputEncoding |
| std::string | schemaURI |
| std::string | emptyResult |
| std::map < std::string, std::string > | params |
| XSLParseErrorHandlerPtr | xslParseErrorHandler |
FormatterListener::eFormat Definition at line 39 of file xslCompiler.hpp.
| XSLCompiler::XSLCompiler | ( | const std::string & | _xslScriptFileName, | |
| FormatterListener::eFormat | _format, | |||
| const std::string & | _outputEncoding, | |||
| const std::string & | _schemaURI, | |||
| const std::string & | _emptyResult = "", |
|||
| XSLParseErrorHandlerPtr | _xslParseErrorHandler = XSLParseErrorHandlerPtr(new XSLParseErrorHandler) | |||
| ) | throw (Error) |
Constructor.
| XSLCompiler::~XSLCompiler | ( | void | ) | [virtual] |
Destructor.
Definition at line 56 of file xslCompiler.cpp.
References compiledStyleSheet, and theXalanTransformer.
00057 { 00058 theXalanTransformer.destroyStylesheet( compiledStyleSheet ); 00059 }
| virtual void XSLCompiler::translate | ( | std::istream & | inputStream, | |
| std::ostream & | outputStream | |||
| ) | const throw (Error) [virtual] |
| void XSLCompiler::setEmptyResult | ( | const std::string & | _emptyResult | ) | [inline] |
Definition at line 58 of file xslCompiler.hpp.
References emptyResult.
00059 { emptyResult = _emptyResult; }
| void XSLCompiler::setParseErrorHandler | ( | XSLParseErrorHandlerPtr | _xslParseErrorHandler | ) | [inline] |
Definition at line 61 of file xslCompiler.hpp.
References xslParseErrorHandler.
00062 { xslParseErrorHandler = _xslParseErrorHandler; }
| void XSLCompiler::setParam | ( | const std::string & | name, | |
| const std::string & | value | |||
| ) |
Referenced by cli().
| bool XSLCompiler::clearParam | ( | const std::string & | name | ) |
std::string XSLCompiler::xslScriptFileName [protected] |
Definition at line 69 of file xslCompiler.hpp.
FormatterListener::eFormat XSLCompiler::format [protected] |
Definition at line 71 of file xslCompiler.hpp.
XalanTransformer XSLCompiler::theXalanTransformer [protected] |
const XalanCompiledStylesheet* XSLCompiler::compiledStyleSheet [protected] |
std::string XSLCompiler::outputEncoding [protected] |
Definition at line 77 of file xslCompiler.hpp.
std::string XSLCompiler::schemaURI [protected] |
Definition at line 79 of file xslCompiler.hpp.
std::string XSLCompiler::emptyResult [protected] |
std::map< std::string , std::string > XSLCompiler::params [protected] |
Definition at line 83 of file xslCompiler.hpp.