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 #if XERCES_VERSION_MAJOR >= 2
50 XALAN_DECLARE_XERCES_CLASS(XercesDOMParser)
52 XALAN_DECLARE_XERCES_CLASS(DOMParser)
54 XALAN_DECLARE_XERCES_CLASS(SAXParser)
58 XALAN_CPP_NAMESPACE_BEGIN
63 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
89 XercesDOMSupport& theSupport,
106 return m_externalSchemaLocation.getMemoryManager();
120 const InputSource& reader,
125 const InputSource& urlInputSource,
126 DocumentHandler& handler,
147 virtual EntityResolver*
153 virtual XMLEntityResolver*
159 virtual ErrorHandler*
198 getIncludeIgnorableWhitespace()
const;
219 setIncludeIgnorableWhitespace(
bool include);
231 getDoNamespaces()
const;
251 setDoNamespaces(
bool newState);
263 getExitOnFirstFatalError()
const;
281 setExitOnFirstFatalError(
bool newState);
289 virtual const XalanDOMChar*
290 getExternalSchemaLocation()
const;
299 setExternalSchemaLocation(
const XalanDOMChar* location);
307 virtual const XalanDOMChar*
308 getExternalNoNamespaceSchemaLocation()
const;
317 setExternalNoNamespaceSchemaLocation(
const XalanDOMChar* location);
319 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
335 return createDocument(theXercesDocument, m_threadSafe, m_buildBridge);
371 return createDocument(theXercesDocument, m_threadSafe, m_buildWrapper, m_buildMaps);
391 bool buildMaps =
false);
393 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
420 mapDocumentToWrapper(
const XalanDocument* theDocument)
const;
422 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
454 warning(
const SAXParseExceptionType& exception);
457 error(
const SAXParseExceptionType& exception);
460 fatalError(
const SAXParseExceptionType& exception);
467 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
473 return m_isDeprecated;
491 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
501 m_isDeprecated =
true;
503 m_bridge = theBridge;
513 m_isDeprecated =
false;
515 m_wrapper = theWrapper;
527 m_wrapper = theWrapper;
550 return m_buildBridge;
568 m_buildBridge = newState;
570 if (newState ==
false)
572 m_threadSafe =
false;
585 return m_buildWrapper;
600 m_buildWrapper = newState;
602 if (newState ==
false)
604 m_threadSafe =
false;
636 m_threadSafe = newState;
638 if (m_threadSafe ==
true)
640 m_buildWrapper =
true;
641 m_buildBridge =
true;
673 m_buildMaps = newState;
682 const SAXParseExceptionType& e,
685 #if defined(XALAN_BUILD_DEPRECATED_DOM_BRIDGE)
736 bool m_useValidation;
738 bool m_includeIgnorableWhitespace;
742 bool m_exitOnFirstFatalError;
744 EntityResolver* m_entityResolver;
746 XMLEntityResolver* m_xmlEntityResolver;
748 ErrorHandler* m_errorHandler;
771 XALAN_CPP_NAMESPACE_END
775 #endif // XercesPARSERLIAISON_HEADER_GUARD_1357924680