xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/XercesParserLiaison XercesParserLiaison.cpp XercesParserLiaison.hpp
Date Wed, 07 Nov 2001 04:07:06 GMT
dbertoni    01/11/06 20:07:06

  Modified:    c/src/XercesParserLiaison XercesParserLiaison.cpp
                        XercesParserLiaison.hpp
  Log:
  Fixed-up ErrorHandler and EntityResolver usage.
  
  Revision  Changes    Path
  1.39      +1 -11     xml-xalan/c/src/XercesParserLiaison/XercesParserLiaison.cpp
  
  Index: XercesParserLiaison.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XercesParserLiaison/XercesParserLiaison.cpp,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- XercesParserLiaison.cpp	2001/10/26 21:06:28	1.38
  +++ XercesParserLiaison.cpp	2001/11/07 04:07:06	1.39
  @@ -327,14 +327,6 @@
   
   
   ErrorHandler*
  -XercesParserLiaison::getErrorHandler()
  -{
  -	return m_errorHandler;
  -}
  -
  -
  -
  -const ErrorHandler*
   XercesParserLiaison::getErrorHandler() const
   {
   	return m_errorHandler;
  @@ -345,8 +337,6 @@
   void
   XercesParserLiaison::setErrorHandler(ErrorHandler*	handler)
   {
  -	assert(handler != 0);
  -
   	m_errorHandler = handler;
   }
   
  @@ -385,7 +375,7 @@
   
   
   EntityResolver*
  -XercesParserLiaison::getEntityResolver()
  +XercesParserLiaison::getEntityResolver() const
   {
   	return m_entityResolver;
   }
  
  
  
  1.27      +3 -15     xml-xalan/c/src/XercesParserLiaison/XercesParserLiaison.hpp
  
  Index: XercesParserLiaison.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XercesParserLiaison/XercesParserLiaison.hpp,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- XercesParserLiaison.hpp	2001/08/06 01:37:47	1.26
  +++ XercesParserLiaison.hpp	2001/11/07 04:07:06	1.27
  @@ -164,7 +164,7 @@
   	getParserDescription() const;
   
   	virtual EntityResolver*
  -	getEntityResolver();
  +	getEntityResolver() const;
   
   	virtual void
   	setEntityResolver(EntityResolver*	resolver);
  @@ -207,21 +207,11 @@
   	setIncludeIgnorableWhitespace(bool	include);
   
   	/**
  -	  * This method returns the installed error handler. Suitable
  -	  * for 'lvalue' usages.
  +	  * This method returns the installed error handler.
   	  *
  -	  * @return The pointer to the installed error handler object.
  +	  * @return A pointer to the installed error handler object.
   	  */
   	virtual ErrorHandler*
  -	getErrorHandler();
  -
  -	/**
  -	  * This method returns the installed error handler. Suitable
  -	  * for 'rvalue' usages.
  -	  *
  -	  * @return A const pointer to the installed error handler object.
  -	  */
  -	virtual const ErrorHandler*
   	getErrorHandler() const;
   
   	/**
  @@ -231,8 +221,6 @@
   	  * @param handler A pointer to the error handler to be called
   	  * 			   when the parser comes across 'error' events
   	  * 			   as per the SAX specification.
  -	  *
  -	  * @see Parser#setErrorHandler
   	  */
   	virtual void
   	setErrorHandler(ErrorHandler*	handler);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message