dbertoni    01/07/08 00:23:29

  Modified:    c/src/XMLSupport XMLParserLiaisonDefault.hpp
                        XMLParserLiaisonDefault.cpp XMLParserLiaison.hpp
  Log:
  Removed unused stuff.
  
  Revision  Changes    Path
  1.11      +2 -28     xml-xalan/c/src/XMLSupport/XMLParserLiaisonDefault.hpp
  
  Index: XMLParserLiaisonDefault.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/XMLParserLiaisonDefault.hpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XMLParserLiaisonDefault.hpp       2001/05/10 17:54:22     1.10
  +++ XMLParserLiaisonDefault.hpp       2001/07/08 07:23:25     1.11
  @@ -81,12 +81,9 @@
        /**
         * Construct a XMLParserLiaisonDefault instance.
         *
  -      * @param formatterListener implemention of the FormatterListener 
operation
  -      *                          (toXMLString, digest, ...)
  -      *
  -      * @param theDOMSupport        instance of DOMSupport object
         */
  -     XMLParserLiaisonDefault(DOMSupport&             theDOMSupport);
  +     explicit
  +     XMLParserLiaisonDefault();
   
        virtual
        ~XMLParserLiaisonDefault();
  @@ -104,9 +101,6 @@
        virtual void
        setExecutionContext(ExecutionContext&   theContext);
   
  -     virtual bool
  -     supportsSAX() const;
  -
        virtual XalanDocument*
        parseXMLStream(
                        const InputSource&              inputSource,
  @@ -127,12 +121,6 @@
        virtual void
        destroyDocument(XalanDocument*  theDocument);
   
  -     virtual const XalanDOMString&
  -     getSpecialCharacters() const { return m_SpecialCharacters; }
  -
  -     virtual void
  -     setSpecialCharacters(const XalanDOMString&      str) { 
m_SpecialCharacters = str; }
  -
        virtual int
        getIndent() const { return m_Indent; }
   
  @@ -140,12 +128,6 @@
        setIndent(int i) { m_Indent = i; }
   
        virtual bool
  -     getShouldExpandEntityRefs() const { return m_fShouldExpandEntityRefs; }
  -
  -     virtual void
  -     SetShouldExpandEntityRefs(bool b) { m_fShouldExpandEntityRefs = b; }
  -
  -     virtual bool
        getUseValidation() const { return m_fUseValidation; }
   
        virtual void
  @@ -160,11 +142,6 @@
        virtual void
        setEntityResolver(EntityResolver*       resolver) { m_entityResolver = 
resolver; }
   
  -protected:
  -
  -     // Data members...
  -     DOMSupport&                             m_DOMSupport;
  -
   private:
   
        // Not implemented...
  @@ -174,11 +151,8 @@
        operator=(const XMLParserLiaisonDefault&);
   
        // Data members...
  -     XalanDOMString          m_SpecialCharacters;
  -
        int                                     m_Indent;
   
  -     bool                            m_fShouldExpandEntityRefs;
        bool                            m_fUseValidation;
   
        EntityResolver*         m_entityResolver;
  
  
  
  1.14      +1 -13     xml-xalan/c/src/XMLSupport/XMLParserLiaisonDefault.cpp
  
  Index: XMLParserLiaisonDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/XMLParserLiaisonDefault.cpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XMLParserLiaisonDefault.cpp       2001/05/10 17:54:21     1.13
  +++ XMLParserLiaisonDefault.cpp       2001/07/08 07:23:26     1.14
  @@ -67,12 +67,9 @@
   
   
   
  -XMLParserLiaisonDefault::XMLParserLiaisonDefault(DOMSupport& theDOMSupport) :
  +XMLParserLiaisonDefault::XMLParserLiaisonDefault() :
        XMLParserLiaison(),
  -     m_DOMSupport(theDOMSupport),
  -     m_SpecialCharacters(),
        m_Indent(-1),
  -     m_fShouldExpandEntityRefs(false),
        m_fUseValidation(false),
        m_entityResolver(0)
   {
  @@ -89,7 +86,6 @@
   void
   XMLParserLiaisonDefault::reset()
   {
  -     m_DOMSupport.reset();
   }
   
   
  @@ -105,14 +101,6 @@
   void
   XMLParserLiaisonDefault::setExecutionContext(ExecutionContext&       /* 
theContext */)
   {
  -}
  -
  -
  -
  -bool
  -XMLParserLiaisonDefault::supportsSAX() const
  -{
  -     return false;
   }
   
   
  
  
  
  1.12      +12 -42    xml-xalan/c/src/XMLSupport/XMLParserLiaison.hpp
  
  Index: XMLParserLiaison.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/XMLParserLiaison.hpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XMLParserLiaison.hpp      2001/05/10 17:54:20     1.11
  +++ XMLParserLiaison.hpp      2001/07/08 07:23:27     1.12
  @@ -106,19 +106,15 @@
        setExecutionContext(ExecutionContext&   theContext) = 0;
   
        /**
  -      * Determine if the liaison supports the SAX DocumentHandler interface.
  -      *
  -      * @return true if SAX supported
  -      */
  -     virtual bool
  -     supportsSAX() const = 0;
  -
  -     /**
         * Parse the text pointed at by the reader as XML, and return a DOM
         * Document interface.  It is recommended that you pass in some sort of
         * recognizable name, such as the filename or URI, with which the reader
         * can be recognized if the parse fails.
         *
  +      * The liaison owns the XalanDocument instance, and will delete it when
  +      * when asked (see DestroyDocument()), or when the liaison is reset, or
  +      * goes out of scope.
  +      *
         * @param reader     stream that should hold valid XML
         * @param identifier used for diagnostic purposes only, some sort of
         *                   identification for error reporting, default an 
empty
  @@ -151,6 +147,10 @@
         * Create an empty DOM Document.  Mainly used for creating an 
         * output document.
         *
  +      * The liaison owns the XalanDocument instance, and will delete it when
  +      * when asked (see DestroyDocument()), or when the liaison is reset, or
  +      * goes out of scope.
  +      * 
         * @return DOM document created
         */
        virtual XalanDocument*
  @@ -159,6 +159,10 @@
        /**
         * Get a factory object required to create nodes in the result tree.
         *
  +      * The liaison owns the XalanDocument instance, and will delete it when
  +      * when asked (see DestroyDocument()), or when the liaison is reset, or
  +      * goes out of scope.
  +      * 
         * @return A XalanDocument instance.
         */
        virtual XalanDocument*
  @@ -174,22 +178,6 @@
        destroyDocument(XalanDocument*  theDocument) = 0;
   
        /**
  -      * Get special characters for attributes that will be escaped.
  -      *
  -      * @return string containing characters
  -      */
  -     virtual const XalanDOMString&
  -     getSpecialCharacters() const = 0;
  -
  -     /**
  -      * Set special characters for attributes that will be escaped.
  -      *
  -      * @param str string containing characters
  -      */
  -     virtual void
  -     setSpecialCharacters(const XalanDOMString&      str) = 0;
  -
  -     /**
         * Get the amount to indent when indent-result="yes".
         *
         * @return number of characters to indent
  @@ -204,24 +192,6 @@
         */
        virtual void
        setIndent(int   i) = 0;
  -
  -     /**
  -      * Determine whether to expand all entity references in the source and
  -      * style trees.
  -      *
  -      * @return true if entity references should be expanded
  -      */
  -     virtual bool
  -     getShouldExpandEntityRefs() const = 0;
  -
  -     /**
  -      * Set whether to expand all entity references in the source and style
  -      * trees.
  -      *
  -      * @param b true if entity references should be expanded
  -      */
  -     virtual void
  -     SetShouldExpandEntityRefs(bool  b) = 0;
   
        /**
         * Get whether or not validation will be performed.  Validation is off 
by
  
  
  

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

Reply via email to