8 #ifndef DOCUMENT_BUILDER_H
9 #define DOCUMENT_BUILDER_H
12 #include "SaxonProcessor.h"
233 void createException(
const char * message=
nullptr);
239 jobject docBuilderObject;
242 std::string cwdDB, baseURI;
243 bool lineNumbering, dtdVal;
Definition: DocumentBuilder.h:33
void setLineNumbering(bool option)
Definition: DocumentBuilder.cpp:75
SaxonApiException * getException()
Get the SaxonApiException object created when we have an error.
Definition: DocumentBuilder.cpp:276
XdmNode * parseXmlFromFile(const char *filename)
Definition: DocumentBuilder.cpp:201
SchemaValidator * getSchemaValidator()
Definition: DocumentBuilder.cpp:114
~DocumentBuilder()
Definition: DocumentBuilder.cpp:65
const char * getErrorMessage()
Get the error message if an error has been reported by JNI.
Definition: DocumentBuilder.cpp:271
void setSchemaValidator(SchemaValidator *validator)
Definition: DocumentBuilder.cpp:97
bool isLineNumbering()
Definition: DocumentBuilder.cpp:89
void setBaseUri(const char *uri)
Definition: DocumentBuilder.cpp:145
const char * getBaseUri()
Definition: DocumentBuilder.cpp:162
bool isDTDValidation()
Definition: DocumentBuilder.cpp:138
XdmNode * parseXmlFromUri(const char *source)
Definition: DocumentBuilder.cpp:226
const char * getErrorCode()
Get the error code if an error has been reported by JNI.
Definition: DocumentBuilder.cpp:266
void exceptionClear()
Clear any exception thrown.
Definition: DocumentBuilder.cpp:255
void setDTDValidation(bool option)
Definition: DocumentBuilder.cpp:120
XdmNode * parseXmlFromString(const char *content)
Definition: DocumentBuilder.cpp:167
bool exceptionOccurred()
Definition: DocumentBuilder.cpp:281
Definition: SaxonApiException.h:19
The SaxonProcessor class acts as a factory for generating XQuery, XPath, Schema and XSLT compilers.
Definition: SaxonProcessor.h:119
jclass procClass
Definition: SaxonProcessor.h:653
std::string cwd
Definition: SaxonProcessor.h:637
jclass saxonCAPIClass
Definition: SaxonProcessor.h:654
jobject proc
Definition: SaxonProcessor.h:638
SaxonApiException * exception
Definition: SaxonProcessor.h:665
Definition: SchemaValidator.h:24