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/PlatformSupport ExecutionContext.hpp
Date Sun, 03 Nov 2002 03:29:52 GMT
dbertoni    2002/11/02 19:29:52

  Modified:    c/src/PlatformSupport ExecutionContext.hpp
  Log:
  Removed bogus error overloads related to stylesheet nodes.
  
  Revision  Changes    Path
  1.6       +28 -106   xml-xalan/c/src/PlatformSupport/ExecutionContext.hpp
  
  Index: ExecutionContext.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/ExecutionContext.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ExecutionContext.hpp	18 Jul 2001 04:18:02 -0000	1.5
  +++ ExecutionContext.hpp	3 Nov 2002 03:29:52 -0000	1.6
  @@ -88,160 +88,82 @@
   	~ExecutionContext();
   
   	/**
  -	 * Tell the user of an error, and throw an exception.
  +	 * Report an error and throw an exception.
   	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the error occurred
  -	 * @param styleNode  node in stylesheet where the error occurred
  +	 * @param msg The text of the message.
  +	 * @param sourceNode The source node where the error occurred.  May be 0.
  +	 * @param locator A Locator to determine where the error occurred.  May be 0.
   	 */
   	virtual void
   	error(
   			const XalanDOMString&	msg,
   			const XalanNode* 		sourceNode = 0,
  -			const XalanNode* 		styleNode = 0) const = 0;
  +			const Locator* 			locator = 0) const = 0;
   
   	/**
  -	 * Tell the user of an error, and throw an exception.
  +	 * Report an error and throw an exception.
   	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the error occurred.  May be 0.
  -	 * @param locator  A Locator to determine where the error occurred.  May be 0.
  -	 */
  -	virtual void
  -	error(
  -			const XalanDOMString&	msg,
  -			const XalanNode* 		sourceNode,
  -			const Locator* 			locator) const = 0;
  -
  -	/**
  -	 * Tell the user of an error, and throw an exception.
  -	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the error occurred
  -	 * @param styleNode  node in stylesheet where the error occurred
  +	 * @param msg The text of the message.
  +	 * @param sourceNode The source node where the error occurred.  May be 0.
  +	 * @param locator A Locator to determine where the error occurred.  May be 0.
   	 */
   	virtual void
   	error(
   			const char*			msg,
   			const XalanNode* 	sourceNode = 0,
  -			const XalanNode* 	styleNode = 0) const = 0;
  -
  -	/**
  -	 * Tell the user of an error, and throw an exception.
  -	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the error occurred.  May be 0.
  -	 * @param locator  A Locator to determine where the error occurred.  May be 0.
  -	 */
  -	virtual void
  -	error(
  -			const char*			msg,
  -			const XalanNode* 	sourceNode,
  -			const Locator* 		locator) const = 0;
  +			const Locator* 		locator = 0) const = 0;
   
   	/**
  -	 * Tell the user of an warning.
  +	 * Report a warning
   	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the warning occurred
  -	 * @param styleNode  node in stylesheet where the warning occurred
  +	 * @param msg The text of the message.
  +	 * @param sourceNode The source node where the warning occurred.  May be 0.
  +	 * @param locator A Locator to determine where the warning occurred.  May be 0.
   	 */
   	virtual void
   	warn(
   			const XalanDOMString&	msg,
   			const XalanNode* 		sourceNode = 0,
  -			const XalanNode* 		styleNode = 0) const = 0;
  +			const Locator* 			locator = 0) const = 0;
   
   	/**
  -	 * Tell the user of a warning.
  +	 * Report a warning
   	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the warning occurred.  May be 0.
  -	 * @param locator  A Locator to determine where the warning occurred.  May be 0.
  -	 */
  -	virtual void
  -	warn(
  -			const XalanDOMString&	msg,
  -			const XalanNode* 		sourceNode,
  -			const Locator* 			locator) const = 0;
  -
  -	/**
  -	 * Tell the user of an warning, and probably throw an exception.
  -	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the warning occurred
  -	 * @param styleNode  node in stylesheet where the warning occurred
  +	 * @param msg The text of the message.
  +	 * @param sourceNode The source node where the warning occurred.  May be 0.
  +	 * @param locator A Locator to determine where the warning occurred.  May be 0.
   	 */
   	virtual void
   	warn(
   			const char*			msg,
   			const XalanNode* 	sourceNode = 0,
  -			const XalanNode* 	styleNode = 0) const = 0;
  -
  -	/**
  -	 * Tell the user of a warning.
  -	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the warning occurred.  May be 0.
  -	 * @param locator  A Locator to determine where the warning occurred.  May be 0.
  -	 */
  -	virtual void
  -	warn(
  -			const char*			msg,
  -			const XalanNode* 	sourceNode,
  -			const Locator* 		locator) const = 0;
  +			const Locator* 		locator = 0) const = 0;
   
   	/**
   	 * Output a message.
   	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where error occurred
  -	 * @param styleNode  node in stylesheet where error occurred
  +	 * @param msg The text of the message.
  +	 * @param sourceNode The source node where the message occurred.  May be 0.
  +	 * @param locator A Locator to determine where the message occurred.  May be 0.
   	 */
   	virtual void
   	message(
   			const XalanDOMString&	msg,
   			const XalanNode* 		sourceNode = 0,
  -			const XalanNode* 		styleNode = 0) const = 0;
  -
  -	/**
  -	 * Output a message.
  -	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the message occurred.  May be 0.
  -	 * @param locator  A Locator to determine where the message occurred.  May be 0.
  -	 */
  -	virtual void
  -	message(
  -			const XalanDOMString&	msg,
  -			const XalanNode* 	sourceNode,
  -			const Locator* 		locator) const = 0;
  +			const Locator* 			locator = 0) const = 0;
   
   	/**
   	 * Output a message.
   	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the message occurred
  -	 * @param styleNode  node in stylesheet where the message occurred
  +	 * @param msg The text of the message.
  +	 * @param sourceNode The source node where the message occurred.  May be 0.
  +	 * @param locator A Locator to determine where the message occurred.  May be 0.
   	 */
   	virtual void
   	message(
   			const char*			msg,
   			const XalanNode* 	sourceNode = 0,
  -			const XalanNode* 	styleNode = 0) const = 0;
  -
  -	/**
  -	 * Output a message.
  -	 * 
  -	 * @param msg        text of message to output
  -	 * @param sourceNode node in source where the message occurred.  May be 0.
  -	 * @param locator  A Locator to determine where the message occurred.  May be 0.
  -	 */
  -	virtual void
  -	message(
  -			const char*			msg,
  -			const XalanNode* 	sourceNode,
  -			const Locator* 		locator) const = 0;
  +			const Locator* 		locator = 0) const = 0;
   };
   
   
  
  
  

---------------------------------------------------------------------
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