Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XMLPARSERLIAISON_HEADER_GUARD_1357924680)
19 #define XMLPARSERLIAISON_HEADER_GUARD_1357924680
32 XALAN_DECLARE_XERCES_CLASS(DocumentHandler)
33 XALAN_DECLARE_XERCES_CLASS(EntityResolver)
34 XALAN_DECLARE_XERCES_CLASS(ErrorHandler)
35 XALAN_DECLARE_XERCES_CLASS(InputSource)
36 XALAN_DECLARE_XERCES_CLASS(XMLEntityResolver)
40 XALAN_CPP_NAMESPACE_BEGIN
99 virtual MemoryManager&
131 const InputSource& inputSource,
150 const InputSource& inputSource,
151 DocumentHandler& handler,
214 virtual EntityResolver*
237 virtual XMLEntityResolver*
260 virtual ErrorHandler*
278 ErrorHandler* theErrorHandler = 0) :
279 m_liaison(theLiaison),
280 m_errorHandler(theErrorHandler)
284 theLiaison->setErrorHandler(theErrorHandler);
292 m_liaison->setErrorHandler(m_errorHandler);
299 ErrorHandler* theErrorHandler)
301 m_liaison = theLiaison;
303 m_errorHandler = theErrorHandler;
315 ErrorHandler* m_errorHandler;
328 m_liaison(theLiaison),
329 m_document(theDocument)
337 m_liaison.destroyDocument(m_document);
375 XALAN_CPP_NAMESPACE_END
379 #endif // XMLPARSERLIAISON_HEADER_GUARD_1357924680
virtual void setExecutionContext(ExecutionContext &theContext)=0
Set the current ExecutionContext instance.
virtual int getIndent() const =0
Get the amount to indent when indent-result="yes".
XERCES_CPP_NAMESPACE_QUALIFIER ErrorHandler ErrorHandlerType
void set(XMLParserLiaison *theLiaison, ErrorHandler *theErrorHandler)
EnsureDestroyDocument(XMLParserLiaison &theLiaison, XalanDocument *theDocument)
virtual bool getUseValidation() const =0
Get whether or not validation will be performed.
virtual EntityResolver * getEntityResolver() const =0
This method returns the installed EntityResolver.
virtual void parseXMLStream(const InputSource &inputSource, DocumentHandler &handler, const XalanDOMString &identifier)=0
Parse the text pointed at by the reader as XML.
virtual void setXMLEntityResolver(XMLEntityResolver *resolver)=0
This method installs the user-specified XMLEntityResolver on the parser.
EnsureResetErrorHandler(XMLParserLiaison *theLiaison=0, ErrorHandler *theErrorHandler=0)
virtual XMLEntityResolver * getXMLEntityResolver() const =0
This method returns the installed XMLEntityResolver.
virtual ErrorHandler * getErrorHandler() const =0
This method returns the installed error handler.
virtual MemoryManager & getMemoryManager()=0
Get a reference to the current MemoryManager instance.
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.
XERCES_CPP_NAMESPACE_QUALIFIER EntityResolver EntityResolverType
XalanDocument * release()
virtual void setUseValidation(bool b)=0
If set to true, validation will be performed.
virtual void setErrorHandler(ErrorHandler *handler)=0
This method installs the user-specified error handler.
virtual void setIndent(int i)=0
Set the amount to indent when indent-result="yes".
virtual void destroyDocument(XalanDocument *theDocument)=0
Destroy the supplied XalanDocument instance.
virtual ExecutionContext * getExecutionContext() const =0
Get a pointer to the current ExecutionContext instance, which may be null.
virtual const XalanDOMString & getParserDescription(XalanDOMString &theResult) const =0
Return a string suitable for telling the user what parser is being used.
XALAN_CPP_NAMESPACE_BEGIN XALAN_USING_XERCES(Locator)
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER DocumentHandler DocumentHandlerType
virtual void reset()=0
Reset the instance, freeing any XalanDocument instances created through parseXMLStream().
virtual void setEntityResolver(EntityResolver *resolver)=0
This method installs the user-specified EntityResolver on the parser.
virtual ~XMLParserLiaison()
~EnsureResetErrorHandler()
XERCES_CPP_NAMESPACE_QUALIFIER InputSource InputSourceType
#define XALAN_XMLSUPPORT_EXPORT
XalanDocument * get() const
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|