10#ifndef DOCUMENT_BUILDER_H
11#define DOCUMENT_BUILDER_H
13#include "SaxonProcessor.h"
156 const char *encoding =
nullptr);
240 void createException(
const char *message =
nullptr);
245 int64_t docBuilderObject;
250 bool lineNumbering, dtdVal;
Definition DocumentBuilder.h:35
void setLineNumbering(bool option)
Definition DocumentBuilder.cpp:53
SaxonApiException * getException()
Get the SaxonApiException object created when we have an error.
Definition DocumentBuilder.cpp:162
XdmNode * parseXmlFromFile(const char *filename)
Definition DocumentBuilder.cpp:118
SchemaValidator * getSchemaValidator()
Definition DocumentBuilder.cpp:68
XdmNode * parseXmlFromString(const char *content, const char *encoding=nullptr)
Definition DocumentBuilder.cpp:98
~DocumentBuilder()
Definition DocumentBuilder.cpp:43
const char * getErrorMessage()
Get the error message if an error has been reported by JNI.
Definition DocumentBuilder.cpp:160
void setSchemaValidator(SchemaValidator *validator)
Definition DocumentBuilder.cpp:64
bool isLineNumbering()
Definition DocumentBuilder.cpp:62
void setBaseUri(const char *uri)
Definition DocumentBuilder.cpp:83
const char * getBaseUri()
Definition DocumentBuilder.cpp:96
bool isDTDValidation()
Definition DocumentBuilder.cpp:81
XdmNode * parseXmlFromUri(const char *source)
Definition DocumentBuilder.cpp:135
const char * getErrorCode()
Get the error code if an error has been reported by JNI.
Definition DocumentBuilder.cpp:158
void exceptionClear()
Clear any exception thrown.
Definition DocumentBuilder.cpp:153
void setDTDValidation(bool option)
Definition DocumentBuilder.cpp:72
bool exceptionOccurred()
Definition DocumentBuilder.cpp:164
Definition SaxonApiException.h:23
Definition SaxonProcessor.h:117
Definition SchemaValidator.h:25