13 #include "SaxonProcessor.h" 86 void setProperty(
const char * name,
const char * value);
120 void executeQueryToFile(
const char * infilename,
const char * ofilename,
const char * query);
217 void setcwd(
const char* cwd);
265 bool queryFileExists;
267 std::map<std::string,XdmValue*> parameters;
268 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:448
void setQueryFile(const char *filename)
Compile a query supplied as a file name.
Definition: XQueryProcessor.cpp:412
const char * executeQueryToString(const char *infilename, const char *query)
Perform the Query to a string representation.
Definition: XQueryProcessor.cpp:336
void setQueryContent(const char *content)
Compile a query supplied as a string.
Definition: XQueryProcessor.cpp:418
const char * getErrorCode(int i)
Get the i'th error code if there are any error.
Definition: XQueryProcessor.cpp:443
int exceptionCount()
Get number of errors reported during execution of the query.
Definition: XQueryProcessor.cpp:463
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:247
Definition: XdmValue.h:46
void clearProperties()
Definition: XQueryProcessor.cpp:159
bool removeParameter(const char *name)
Definition: XQueryProcessor.cpp:116
void exceptionClear()
Clear any exception thrown.
Definition: XQueryProcessor.cpp:426
std::map< std::string, XdmValue * > & getParameters()
Get all parameters as a std::map.
Definition: XQueryProcessor.cpp:37
const char * runQueryToString()
Definition: XQueryProcessor.cpp:398
void setQueryBaseURI(const char *baseURI)
Set the static base URI for the query.
Definition: XQueryProcessor.cpp:169
Definition: SaxonProcessor.h:296
std::map< std::string, std::string > & getProperties()
Get all properties as a std::map.
Definition: XQueryProcessor.cpp:42
void setUpdating(bool updating)
Definition: XQueryProcessor.cpp:174
void setcwd(const char *cwd)
Definition: XQueryProcessor.cpp:165
XdmValue * runQueryToValue()
Execute the Query cached.
Definition: XQueryProcessor.cpp:404
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:408
bool exceptionOccurred()
Definition: XQueryProcessor.cpp:437
const char * checkException()
Check for exception thrown.
Definition: XQueryProcessor.cpp:453
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:191