You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/12/11 23:49:06 UTC

cvs commit: xml-xalan/c/src/XSLT XSLTResultTarget.hpp

dbertoni    2002/12/11 14:49:05

  Modified:    c/src/XSLT XSLTResultTarget.hpp
  Log:
  Added set accessor for const char*.
  
  Revision  Changes    Path
  1.21      +18 -0     xml-xalan/c/src/XSLT/XSLTResultTarget.hpp
  
  Index: XSLTResultTarget.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTResultTarget.hpp,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- XSLTResultTarget.hpp	26 Nov 2002 17:31:06 -0000	1.20
  +++ XSLTResultTarget.hpp	11 Dec 2002 22:49:05 -0000	1.21
  @@ -182,6 +182,24 @@
   	 * @param fileName system identifier as a string
   	 */
   	void
  +	setFileName(const char*		fileName)
  +	{
  +		if (fileName == 0)
  +		{
  +			m_fileName.clear();
  +		}
  +		else
  +		{
  +			m_fileName = fileName;
  +		}
  +	}
  +
  +	/**
  +	 * Set the file name where the results will be written.
  +	 *
  +	 * @param fileName system identifier as a string
  +	 */
  +	void
   	setFileName(const XalanDOMString&	fileName)
   	{
   		m_fileName = fileName;
  
  
  

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