18#if !defined(XMLPARSERLIAISON_HEADER_GUARD_1357924680)
19#define XMLPARSERLIAISON_HEADER_GUARD_1357924680
32namespace XERCES_CPP_NAMESPACE
34 class DocumentHandler;
38 class XMLEntityResolver;
52using xercesc::DocumentHandler;
53using xercesc::EntityResolver;
54using xercesc::ErrorHandler;
55using xercesc::InputSource;
56using xercesc::XMLEntityResolver;
102 virtual MemoryManager&
217 virtual EntityResolver*
240 virtual XMLEntityResolver*
263 virtual ErrorHandler*
295 m_liaison->setErrorHandler(m_errorHandler);
318 ErrorHandler* m_errorHandler;
340 m_liaison.destroyDocument(m_document);
#define XALAN_XMLSUPPORT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
XalanDocument * get() const
EnsureDestroyDocument(XMLParserLiaison &theLiaison, XalanDocument *theDocument)
XalanDocument * release()
EnsureResetErrorHandler(XMLParserLiaison *theLiaison=0, ErrorHandler *theErrorHandler=0)
~EnsureResetErrorHandler()
void set(XMLParserLiaison *theLiaison, ErrorHandler *theErrorHandler)
virtual void setIndent(int i)=0
Set the amount to indent when indent-result="yes".
virtual EntityResolver * getEntityResolver() const =0
This method returns the installed EntityResolver.
virtual void setUseValidation(bool b)=0
If set to true, validation will be performed.
virtual void reset()=0
Reset the instance, freeing any XalanDocument instances created through parseXMLStream().
virtual XalanDocument * parseXMLStream(const InputSource &inputSource, const XalanDOMString &identifier)=0
Parse the text pointed at by the reader as XML, and return a DOM Document interface.
virtual const XalanDOMString & getParserDescription(XalanDOMString &theResult) const =0
Return a string suitable for telling the user what parser is being used.
virtual XMLEntityResolver * getXMLEntityResolver() const =0
This method returns the installed XMLEntityResolver.
virtual ExecutionContext * getExecutionContext() const =0
Get a pointer to the current ExecutionContext instance, which may be null.
virtual int getIndent() const =0
Get the amount to indent when indent-result="yes".
virtual ErrorHandler * getErrorHandler() const =0
This method returns the installed error handler.
virtual void setXMLEntityResolver(XMLEntityResolver *resolver)=0
This method installs the user-specified XMLEntityResolver on the parser.
virtual MemoryManager & getMemoryManager()=0
Get a reference to the current MemoryManager instance.
virtual void setEntityResolver(EntityResolver *resolver)=0
This method installs the user-specified EntityResolver on the parser.
virtual void parseXMLStream(const InputSource &inputSource, DocumentHandler &handler, const XalanDOMString &identifier)=0
Parse the text pointed at by the reader as XML.
virtual bool getUseValidation() const =0
Get whether or not validation will be performed.
virtual void setErrorHandler(ErrorHandler *handler)=0
This method installs the user-specified error handler.
virtual void destroyDocument(XalanDocument *theDocument)=0
Destroy the supplied XalanDocument instance.
virtual void setExecutionContext(ExecutionContext &theContext)=0
Set the current ExecutionContext instance.
virtual ~XMLParserLiaison()
xercesc::ErrorHandler ErrorHandlerType
xercesc::EntityResolver EntityResolverType
xercesc::InputSource InputSourceType
xercesc::DocumentHandler DocumentHandlerType