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/01/04 01:55:23 UTC

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

dbertoni    02/01/03 16:55:23

  Modified:    c/src/XSLT XSLTResultTarget.cpp XSLTResultTarget.hpp
  Log:
  Added constructor for FormatterListener.
  
  Revision  Changes    Path
  1.8       +15 -1     xml-xalan/c/src/XSLT/XSLTResultTarget.cpp
  
  Index: XSLTResultTarget.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTResultTarget.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XSLTResultTarget.cpp	15 Mar 2001 22:19:52 -0000	1.7
  +++ XSLTResultTarget.cpp	4 Jan 2002 00:55:23 -0000	1.8
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  + * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights 
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -202,4 +202,18 @@
   	m_formatterListener(0)
   {
   	assert(element != 0);
  +}
  +
  +
  +
  +XSLTResultTarget::XSLTResultTarget(FormatterListener&		flistener) :
  +	m_fileName(),
  +	m_byteStream(0),
  +	m_encoding(),
  +	m_characterStream(0),
  +	m_document(0),
  +	m_documentFragment(0),
  +	m_element(0),
  +	m_formatterListener(&flistener)
  +{
   }
  
  
  
  1.16      +7 -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.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- XSLTResultTarget.hpp	28 Sep 2001 18:55:57 -0000	1.15
  +++ XSLTResultTarget.hpp	4 Jan 2002 00:55:23 -0000	1.16
  @@ -159,6 +159,13 @@
   	XSLTResultTarget(XalanElement*	element);
   
   	/**
  +	 * Create a new output target with a FormatterListener.
  +	 *
  +	 * @param flistener A FormatterListener instance for result tree events.
  +	 */
  +	XSLTResultTarget(FormatterListener&		flistener);
  +
  +	/**
   	 * Set the file name where the results will be written.
   	 *
   	 * @param fileName system identifier as a string
  
  
  

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