|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
19 #if !defined(XALANTRANSFORMER_HEADER_GUARD)
20 #define XALANTRANSFORMER_HEADER_GUARD
49 namespace XERCES_CPP_NAMESPACE
53 class XMLEntityResolver;
65 using xercesc::EntityResolver;
66 using xercesc::ErrorHandler;
67 using xercesc::XMLEntityResolver;
72 class StylesheetExecutionContextDefault;
73 class ProblemListener;
76 class XalanDocumentBuilder;
77 class XalanCompiledStylesheet;
78 class XalanParsedSource;
79 class XalanTransformerOutputStream;
81 class XObjectFactoryDefault;
105 XalanTransformer(MemoryManager& theManager = XalanMemMgrs::getDefaultXercesMemMgr());
113 return m_memoryManager;
119 return m_memoryManager;
131 initialize(MemoryManager& theManager = XalanMemMgrs::getDefaultXercesMemMgr());
171 ICUStartUp(MemoryManager& theManager = XalanMemMgrs::getDefaultXercesMemMgr());
188 return doTransform(theParsedXML, 0, &theStylesheetSource, theResultTarget);
206 assert(theCompiledStylesheet != 0);
208 return doTransform(theParsedXML, theCompiledStylesheet, 0, theResultTarget);
225 assert(s_emptyInputSource != 0);
227 return transform(theParsedXML, *s_emptyInputSource, theResultTarget);
262 assert(s_emptyInputSource != 0);
292 void* theOutputHandle,
335 void* theOutputHandle,
359 void* theOutputHandle,
407 bool useXercesDOM =
false);
449 installExternalFunction(
462 installExternalFunctionGlobal(
474 uninstallExternalFunction(
485 uninstallExternalFunctionGlobal(
497 assert(m_topXObjectFactory != 0);
499 return *m_topXObjectFactory;
526 const char* expression);
613 m_topXObjectFactory->reset();
626 m_traceListeners.push_back(theTraceListener);
644 m_traceListeners.clear();
656 return m_useValidation;
668 m_useValidation = fValue;
679 return m_entityResolver;
693 m_entityResolver = theResolver;
695 if (theResolver != 0 && m_xmlEntityResolver != 0)
697 m_xmlEntityResolver = 0;
709 return m_xmlEntityResolver;
723 m_xmlEntityResolver = theResolver;
725 if (theResolver != 0 && m_entityResolver != 0)
727 m_entityResolver = 0;
739 return m_errorHandler;
750 m_errorHandler = theErrorHandler;
762 return m_externalSchemaLocation.empty() ==
true ? 0 : m_externalSchemaLocation.c_str();
774 assert(location != 0);
776 m_externalSchemaLocation = location;
788 return m_externalNoNamespaceSchemaLocation.empty() ==
true ? 0 : m_externalNoNamespaceSchemaLocation.c_str();
800 assert(location != 0);
802 m_externalNoNamespaceSchemaLocation = location;
814 return m_poolAllTextNodes;
828 m_poolAllTextNodes = fPool;
839 return m_problemListener;
850 m_problemListener = theProblemListener;
862 assert(m_errorMessage.empty() ==
false);
864 return &m_errorMessage[0];
876 return m_outputEncoding;
890 m_outputEncoding = theEncoding;
907 setIndent(
int indentAmount);
927 getEscapeURLs()
const;
937 setEscapeURLs(eEscapeURLs value);
958 getOmitMETATag()
const;
968 setOmitMETATag(eOmitMETATag value);
982 m_errorStream = theStream;
993 return m_errorStream;
1007 m_warningStream = theStream;
1018 return m_warningStream;
1022 getICUAvailable()
const;
1029 m_memoryManagement(theManager),
1047 MemoryManager& m_memoryManagement;
1059 m_transformer(theTransformer),
1060 m_parsedSource(theParsedSource)
1066 m_transformer.destroyParsedSource(m_parsedSource);
1083 m_transformer(theTransformer),
1084 m_compiledStylesheet(theCompiledStylesheet)
1090 m_transformer.destroyStylesheet(m_compiledStylesheet);
1105 m_transformer(theTransformer),
1106 m_documentBuilder(theDocumentBuilder)
1112 m_transformer.destroyDocumentBuilder(m_documentBuilder);
1134 m_transformer(theTransformer)
1142 XalanTransformer& m_transformer;
1145 friend class EnsureReset;
1156 MemoryManager& m_memoryManager;
1170 bool m_useValidation;
1172 EntityResolver* m_entityResolver;
1174 XMLEntityResolver* m_xmlEntityResolver;
1176 ErrorHandler* m_errorHandler;
1190 bool m_poolAllTextNodes;
1208 #endif // XALANTRANSFORMER_HEADER_GUARD
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
This is an abstraction of the StylesheetRoot class.
This is abstract base class designed to allow a XalanTranfomer object to reuse a parsed document.
This class handles the creation of XObjects and manages their lifetime.
xercesc::ErrorHandler ErrorHandlerType
Class to hold XObjectPtr return types.
This is the abstract class that the XSL processor uses when it has a problem of some kind,...
This is abstract base class designed to allow a XalanTranfomer object to use a document that is build...
xercesc::EntityResolver EntityResolverType
This class handles the creation of XObjects and manages their lifetime.