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