Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XALAN_FILEUTILITY_HEADER_GUARD_1357924680)
19 #define XALAN_FILEUTILITY_HEADER_GUARD_1357924680
29 #if defined(XALAN_CLASSIC_IOSTREAMS)
30 #include <strstream.h>
41 XALAN_CPP_NAMESPACE_BEGIN
101 #if defined(XALAN_NO_STD_NAMESPACE)
102 typedef ostrstream StreamType;
104 typedef std::ostrstream StreamType;
177 bool fsetGold =
true);
254 bool containsOnly =
false);
261 const char* expected,
267 bool containsOnly =
false)
282 const char* expected,
287 bool containsOnly =
false)
332 const char* goldFile,
333 const char* outputFile);
405 static const XalanDOMChar s_xmlSuffix[];
407 static const XalanDOMChar s_pathSep[];
412 return m_buffer.getMemoryManager();
418 return m_buffer.getMemoryManager();
470 XALAN_CPP_NAMESPACE_END
474 #endif // XALAN_FILEUTILITY_HEADER_GUARD_1357924680
bool domCompare(const XalanDocument &gold, const XalanDocument &doc)
Utility methods used to perform a DOM Compare.
bool diffAttr(const XalanNode *gAttr, const XalanNode *dAttr)
Utility methods used to diff two attribute nodes.
#define XALAN_HARNESS_EXPORT
XalanDOMString & generateUniqRunid(XalanDOMString &theResult)
Utility method used to generate UniqRunid.
bool diffNode(const XalanNode *gold, const XalanNode *doc)
Utility methods used to diff two nodes.
XalanVector< char > CharVectorType
XalanDOMString & getDrive(XalanDOMString &theResult)
Utility method used to get test files from a specific directory.
void analyzeResults(XalanTransformer &xalan, const XalanDOMString &resultsFile)
XalanDOMString testOrFile
bool domCompare(const XalanNode &gold, const XalanNode &doc)
Utility methods used to perform a DOM Compare.
const MemoryManager & getMemoryManager() const
const char * getHelpMessage()
void reportPassFail(XalanXMLFileReporter &logfile)
Utility methods used to report Pass/Fail numbers.
bool compareSerializedResults(const XalanDOMString &transformResult, const XalanDOMString &goldInputSource)
void checkAPIResults(const XalanDOMString &actual, const XalanDOMString &expected, const char *msg, XalanXMLFileReporter &logfile, const XalanDOMString &outputFile, const XalanDOMString &goldFile, bool containsOnly=false)
void reportPassFail(XalanXMLFileReporter &logfile, const XalanDOMString &runid)
MemoryManager & getMemoryManager()
cmdParams(MemoryManager &theManager)
StreamType & getHelpStream()
void checkAndCreateDir(const XalanDOMString &directory)
Utility method used to create default directories when neccessary.
XalanDOMString & generateFileName(const XalanDOMString &theXMLFileName, const char *suffix, XalanDOMString &theResult, bool *status=0)
Utility method used to get OUT file based on XML file.
bool fileCompare(const char *goldFile, const char *outputFile)
void checkAPIResults(const char *actual, const char *expected, const char *msg, XalanXMLFileReporter &logfile, const XalanDOMString &outputFile, const XalanDOMString &goldFile, bool containsOnly=false)
void checkAPIResults(const char *actual, const char *expected, const char *msg, XalanXMLFileReporter &logfile, const XalanDOMString &outputFile, const XalanDOMString &goldFile, MemoryManager &, bool containsOnly=false)
reportStruct(MemoryManager &theManager)
void checkDOMResults(const XalanDOMString &theOutputFile, const XalanCompiledStylesheet *compiledSS, const XalanSourceTreeDocument *dom, const XSLTInputSource &goldInputSource, XalanXMLFileReporter &logfile)
Utility method used to compare the results.
bool diffNode(const XalanNode &gold, const XalanNode &doc)
Utility methods used to diff two nodes.
This is an abstraction of the StylesheetRoot class.
bool getParams(int argc, char *argv[], const char *outDir, bool fsetGold=true)
XalanFileUtility(MemoryManager &theManager)
Simple constructor, does not perform initialization.
FileNameVectorType & getTestFileNames(const XalanDOMString &baseDir, const XalanDOMString &relDir, bool useDirPrefix, FileNameVectorType &theFiles)
XalanDOMString & getXSLFileName(const XalanDOMString &theXMLFileName, XalanDOMString &theResult)
Utility method used to get XSL file based on XML file.
bool diffElement2(const XalanNode &gold, const XalanNode &doc)
Utility methods used to diff two Element nodes.
XALAN_CPP_NAMESPACE_BEGIN XALAN_USING_XERCES(Locator)
bool checkDir(const XalanDOMString &directory)
Utility method determines if directory exists.
XalanDOMString currentNode
void setVerbose(bool flag)
XalanDOMString xslFileURL
int getFailureCount() const
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
FileNameVectorType & getDirectoryNames(const XalanDOMString &rootDirectory, FileNameVectorType &theFiles)
Utility method used to get subdirectories from a specific directory.
void checkResults(const XalanDOMString &outputFile, const XalanDOMString &goldFile, XalanXMLFileReporter &logfile)
bool diffElement(const XalanNode &gold, const XalanNode &doc)
Utility methods used to diff two Element nodes.
XalanDOMString xmlFileURL
XalanVector< XalanDOMString > FileNameVectorType
XalanDOMString & getXercesVersion(XalanDOMString &theResult)
Utility methods used to get Xerces Version number.
FormatterListener * getXMLFormatter(PrintWriter &resultWriter, int indentAmount, const XalanDOMString &mimeEncoding, const StylesheetRoot *stylesheet)
Utility method used to create a FormatterToXML FormatterListener.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|