dbertoni    2003/07/01 16:46:26

  Modified:    c/src/xalanc/PlatformSupport FormatterListener.cpp
                        FormatterListener.hpp
  Log:
  Pushed some functions from derived classes here.
  
  Revision  Changes    Path
  1.2       +52 -0     
xml-xalan/c/src/xalanc/PlatformSupport/FormatterListener.cpp
  
  Index: FormatterListener.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/FormatterListener.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FormatterListener.cpp     29 Jun 2003 03:57:55 -0000      1.1
  +++ FormatterListener.cpp     1 Jul 2003 23:46:26 -0000       1.2
  @@ -94,6 +94,58 @@
   
   
   
  +Writer*
  +FormatterListener::getWriter() const
  +{
  +     return 0;
  +}
  +
  +
  +
  +const XalanDOMString FormatterListener::s_emptyString;
  +
  +
  +
  +const XalanDOMString&
  +FormatterListener::getDoctypeSystem() const
  +{
  +     return s_emptyString;
  +}
  +
  +
  +
  +const XalanDOMString&
  +FormatterListener::getDoctypePublic() const
  +{
  +     return s_emptyString;
  +}
  +
  +
  +
  +const XalanDOMString&
  +FormatterListener::getEncoding() const
  +{
  +     return s_emptyString;
  +}
  +
  +
  +
  +const XalanDOMString&
  +FormatterListener::getMediaType() const
  +{
  +     return s_emptyString;
  +}
  +
  +
  +
  +int
  +FormatterListener::getIndent() const
  +{
  +     return 0;
  +}
  +
  +
  +
   const XalanDOMChar   FormatterListener::s_piTarget[] =
   {
        XalanUnicode::charLetter_X,
  
  
  
  1.2       +21 -0     
xml-xalan/c/src/xalanc/PlatformSupport/FormatterListener.hpp
  
  Index: FormatterListener.hpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/FormatterListener.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FormatterListener.hpp     29 Jun 2003 03:57:55 -0000      1.1
  +++ FormatterListener.hpp     1 Jul 2003 23:46:26 -0000       1.2
  @@ -85,6 +85,7 @@
   
   
   class PrefixResolver;
  +class Writer;
   
   
   
  @@ -246,6 +247,24 @@
                        const   XMLCh* const    name,
                        AttributeListType&              attrs) = 0;
   
  +     virtual Writer*
  +     getWriter() const;
  +
  +     virtual const XalanDOMString&
  +     getDoctypeSystem() const;
  +
  +     virtual const XalanDOMString&
  +     getDoctypePublic() const;
  +
  +     virtual const XalanDOMString&
  +     getEncoding() const;
  +
  +     virtual const XalanDOMString&
  +     getMediaType() const;
  +
  +     virtual int
  +     getIndent() const;
  +
   
        // Used when creating PI to work around limitations of
        // our interfaces...
  @@ -265,6 +284,8 @@
   
        // Data membmers...
        const PrefixResolver*   m_prefixResolver;
  +
  +     static const XalanDOMString             s_emptyString;
   
   private:
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to