13 #include "SaxonProcessor.h"
86 void setProperty(
const char * name,
const char * value);
110 void executeQueryToFile(
const char * infilename,
const char * ofilename,
const char * query);
207 void setcwd(
const char* cwd);
255 bool queryFileExists;
257 std::map<std::string,XdmValue*> parameters;
258 std::map<std::string,std::string> properties;
void setParameter(const char *name, XdmValue *value)
Definition: XQueryProcessor.cpp:101
void declareNamespace(const char *prefix, const char *uri)
Declare a namespace binding.
Definition: XQueryProcessor.cpp:59
Definition: XQueryProcessor.h:26
void setContextItemFromFile(const char *filename)
Definition: XQueryProcessor.cpp:83
const char * getErrorMessage(int i)
Get the ith error message if there are any error.
Definition: XQueryProcessor.cpp:416
void setQueryFile(const char *filename)
Compile a query supplied as by file name.
Definition: XQueryProcessor.cpp:380
const char * executeQueryToString(const char *infilename, const char *query)
Perform the Query to a string representation.
Definition: XQueryProcessor.cpp:304
void setQueryContent(const char *content)
Compile a query supplied as a string.
Definition: XQueryProcessor.cpp:386
const char * getErrorCode(int i)
Get the i'th error code if there are any error.
Definition: XQueryProcessor.cpp:411
int exceptionCount()
Get number of errors reported during execution of the query.
Definition: XQueryProcessor.cpp:431
XQueryProcessor()
Default constructor.
Definition: XQueryProcessor.cpp:7
XdmValue * executeQueryToValue(const char *infilename, const char *query)
Perform the Query to a XdmValue representation.
Definition: XQueryProcessor.cpp:229
Definition: XdmValue.h:44
void clearProperties()
Definition: XQueryProcessor.cpp:159
bool removeParameter(const char *name)
Definition: XQueryProcessor.cpp:116
void exceptionClear()
Clear any exception thrown.
Definition: XQueryProcessor.cpp:394
std::map< std::string, XdmValue * > & getParameters()
Get all parameters as a std::map.
Definition: XQueryProcessor.cpp:37
const char * runQueryToString()
Definition: XQueryProcessor.cpp:366
void setQueryBaseURI(const char *baseURI)
Set the static base URI for the query.
Definition: XQueryProcessor.cpp:169
Definition: SaxonProcessor.h:290
std::map< std::string, std::string > & getProperties()
Get all properties as a std::map.
Definition: XQueryProcessor.cpp:42
void setcwd(const char *cwd)
Definition: XQueryProcessor.cpp:165
XdmValue * runQueryToValue()
Execute the Query cached.
Definition: XQueryProcessor.cpp:372
void setOutputFile(const char *outfile)
Definition: XQueryProcessor.cpp:90
void clearParameters(bool deleteValues=false)
Definition: XQueryProcessor.cpp:134
void setContextItem(XdmItem *value)
Set the initial context item for the query.
Definition: XQueryProcessor.cpp:51
void runQueryToFile()
Execute the Query cached to file.
Definition: XQueryProcessor.cpp:376
bool exceptionOccurred()
Definition: XQueryProcessor.cpp:405
const char * checkException()
Check for exception thrown.
Definition: XQueryProcessor.cpp:421
void setProperty(const char *name, const char *value)
Definition: XQueryProcessor.cpp:125
void executeQueryToFile(const char *infilename, const char *ofilename, const char *query)
Perform the Query to file.
Definition: XQueryProcessor.cpp:173