18 #if !defined(XercesPARSERLIAISON_HEADER_GUARD_1357924680) 19 #define XercesPARSERLIAISON_HEADER_GUARD_1357924680 33 #include <xercesc/sax/ErrorHandler.hpp> 42 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 49 namespace XERCES_CPP_NAMESPACE
51 #if XERCES_VERSION_MAJOR >= 2 52 class XercesDOMParser;
64 class XercesDOMSupport;
65 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 66 class XercesDocumentBridge;
108 return m_externalSchemaLocation.getMemoryManager();
115 getExecutionContext()
const;
122 const InputSource& reader,
127 const InputSource& urlInputSource,
128 DocumentHandler& handler,
141 getUseValidation()
const;
144 setUseValidation(
bool b);
149 virtual EntityResolver*
150 getEntityResolver()
const;
153 setEntityResolver(EntityResolver* resolver);
155 virtual XMLEntityResolver*
156 getXMLEntityResolver()
const;
159 setXMLEntityResolver(XMLEntityResolver* resolver);
161 virtual ErrorHandler*
162 getErrorHandler()
const;
165 setErrorHandler(ErrorHandler* handler);
200 getIncludeIgnorableWhitespace()
const;
221 setIncludeIgnorableWhitespace(
bool include);
233 getDoNamespaces()
const;
253 setDoNamespaces(
bool newState);
265 getExitOnFirstFatalError()
const;
283 setExitOnFirstFatalError(
bool newState);
291 virtual const XalanDOMChar*
292 getExternalSchemaLocation()
const;
301 setExternalSchemaLocation(
const XalanDOMChar* location);
309 virtual const XalanDOMChar*
310 getExternalNoNamespaceSchemaLocation()
const;
319 setExternalNoNamespaceSchemaLocation(
const XalanDOMChar* location);
321 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 337 return createDocument(theXercesDocument, m_threadSafe, m_buildBridge);
373 return createDocument(theXercesDocument, m_threadSafe, m_buildWrapper, m_buildMaps);
393 bool buildMaps =
false);
395 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 422 mapDocumentToWrapper(
const XalanDocument* theDocument)
const;
424 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 469 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 475 return m_isDeprecated;
493 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 503 m_isDeprecated =
true;
505 m_bridge = theBridge;
513 operator=(XercesDocumentWrapper* theWrapper)
515 m_isDeprecated =
false;
517 m_wrapper = theWrapper;
529 m_wrapper = theWrapper;
552 return m_buildBridge;
570 m_buildBridge = newState;
572 if (newState ==
false)
574 m_threadSafe =
false;
587 return m_buildWrapper;
602 m_buildWrapper = newState;
604 if (newState ==
false)
606 m_threadSafe =
false;
638 m_threadSafe = newState;
640 if (m_threadSafe ==
true)
642 m_buildWrapper =
true;
643 m_buildBridge =
true;
675 m_buildMaps = newState;
687 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE) 738 bool m_useValidation;
740 bool m_includeIgnorableWhitespace;
744 bool m_exitOnFirstFatalError;
746 EntityResolver* m_entityResolver;
748 XMLEntityResolver* m_xmlEntityResolver;
750 ErrorHandler* m_errorHandler;
777 #endif // XercesPARSERLIAISON_HEADER_GUARD_1357924680
xercesc::SAXParser SAXParserType
bool getBuildBridgeNodes() const
This API is deprecated.
bool getBuildMaps() const
This functions returns the state of the liaison's buildMaps flag.
#define XALAN_XERCESPARSERLIAISON_EXPORT
XalanDocument * createDocument(const DOMDocument_Type *theXercesDocument)
Create a XalanDocument proxy for an existing Xerces document.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void setBuildWrapperNodes(bool newState)
This functions sets the state of the liaison's build-wrapper-nodes flag.
#define XALAN_DEFAULT_MEMMGR
void setBuildMaps(bool newState)
This functions sets the state of the liaison's buildMaps flag.
void setThreadSafe(bool newState)
This functions sets the state of the liaison's thread-safe flag.
DocumentEntry & operator=(XercesDocumentWrapper *theWrapper)
bool getBuildWrapperNodes() const
This functions returns the state of the liaison's build-wrapper-nodes flag.
xercesc::DOM_Document DOM_Document_Type
XercesDocumentWrapper * m_wrapper
MemoryManager & getMemoryManager()
Get a reference to the current MemoryManager instance.
xercesc::XercesDOMParser DOMParserType
bool getThreadSafe() const
This functions returns the state of the liaison's thread-safe flag.
This class is deprecated.
void setBuildBridgeNodes(bool newState)
This API is deprecated.
xercesc::DOMDocument DOMDocument_Type
xercesc::SAXParseException SAXParseExceptionType
XalanMap< const XalanDocument *, DocumentEntry > DocumentMapType
bool isDeprecated() const