dbertoni    2002/11/16 16:49:01

  Modified:    c/src/XalanTransformer XercesDOMWrapperParsedSource.cpp
                        XercesDOMWrapperParsedSource.hpp
  Log:
  Added constructor for new Xerces DOM implementation.
  
  Revision  Changes    Path
  1.6       +16 -0     
xml-xalan/c/src/XalanTransformer/XercesDOMWrapperParsedSource.cpp
  
  Index: XercesDOMWrapperParsedSource.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/XalanTransformer/XercesDOMWrapperParsedSource.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XercesDOMWrapperParsedSource.cpp  10 May 2002 21:14:07 -0000      1.5
  +++ XercesDOMWrapperParsedSource.cpp  17 Nov 2002 00:49:01 -0000      1.6
  @@ -92,6 +92,22 @@
   
   
   
  +XercesDOMWrapperParsedSource::XercesDOMWrapperParsedSource(
  +                     const DOMDocument*              theDocument,
  +                     XercesParserLiaison&    theParserLiaison,
  +                     XercesDOMSupport&               theDOMSupport,
  +                     const XalanDOMString&   theURI) :
  +     XalanParsedSource(),
  +     m_parserLiaison(theParserLiaison),
  +     m_domSupport(theDOMSupport),
  +     m_parsedSource(theParserLiaison.createDocument(theDocument, true, true)),
  +     m_uri(URISupport::NormalizeURIText(theURI))
  +{
  +     assert(m_parsedSource != 0);
  +}
  +
  +
  +
   XercesDOMWrapperParsedSource::~XercesDOMWrapperParsedSource()
   {
        m_parserLiaison.destroyDocument(m_parsedSource);
  
  
  
  1.4       +7 -0      
xml-xalan/c/src/XalanTransformer/XercesDOMWrapperParsedSource.hpp
  
  Index: XercesDOMWrapperParsedSource.hpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/XalanTransformer/XercesDOMWrapperParsedSource.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XercesDOMWrapperParsedSource.hpp  10 May 2002 21:14:07 -0000      1.3
  +++ XercesDOMWrapperParsedSource.hpp  17 Nov 2002 00:49:01 -0000      1.4
  @@ -68,6 +68,7 @@
   
   
   
  +class DOMDocument;
   class DOM_Document;
   class XercesParserLiaison;
   class XercesDOMSupport;
  @@ -84,6 +85,12 @@
   
        XercesDOMWrapperParsedSource(
                        const DOM_Document&             theDocument,
  +                     XercesParserLiaison&    theParserLiaison,
  +                     XercesDOMSupport&               theDOMSupport,
  +                     const XalanDOMString&   theURI = XalanDOMString());
  +
  +     XercesDOMWrapperParsedSource(
  +                     const DOMDocument*              theDocument,
                        XercesParserLiaison&    theParserLiaison,
                        XercesDOMSupport&               theDOMSupport,
                        const XalanDOMString&   theURI = XalanDOMString());
  
  
  

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

Reply via email to