// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _XmlLDrivers_DocumentStorageDriver_HeaderFile
#define _XmlLDrivers_DocumentStorageDriver_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_XmlLDrivers_DocumentStorageDriver_HeaderFile
#include <Handle_XmlLDrivers_DocumentStorageDriver.hxx>
#endif

#ifndef _Handle_XmlMDF_ADriverTable_HeaderFile
#include <Handle_XmlMDF_ADriverTable.hxx>
#endif
#ifndef _XmlLDrivers_SequenceOfNamespaceDef_HeaderFile
#include <XmlLDrivers_SequenceOfNamespaceDef.hxx>
#endif
#ifndef _TCollection_ExtendedString_HeaderFile
#include <TCollection_ExtendedString.hxx>
#endif
#ifndef _XmlObjMgt_SRelocationTable_HeaderFile
#include <XmlObjMgt_SRelocationTable.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _PCDM_StorageDriver_HeaderFile
#include <PCDM_StorageDriver.hxx>
#endif
#ifndef _Handle_CDM_Document_HeaderFile
#include <Handle_CDM_Document.hxx>
#endif
#ifndef _XmlObjMgt_Element_HeaderFile
#include <XmlObjMgt_Element.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_CDM_MessageDriver_HeaderFile
#include <Handle_CDM_MessageDriver.hxx>
#endif
class XmlMDF_ADriverTable;
class TCollection_ExtendedString;
class CDM_Document;
class TCollection_AsciiString;
class CDM_MessageDriver;



class XmlLDrivers_DocumentStorageDriver : public PCDM_StorageDriver {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT XmlLDrivers_DocumentStorageDriver(const TCollection_ExtendedString& theCopyright);


Standard_EXPORT virtual  TCollection_ExtendedString SchemaName() const;


Standard_EXPORT virtual  void Write(const Handle(CDM_Document)& theDocument,const TCollection_ExtendedString& theFileName) ;


Standard_EXPORT   Standard_Boolean IsError() const;


Standard_EXPORT virtual  Handle_XmlMDF_ADriverTable AttributeDrivers(const Handle(CDM_MessageDriver)& theMsgDriver) ;
//Standard_EXPORT ~XmlLDrivers_DocumentStorageDriver();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


Standard_EXPORT virtual  Standard_Boolean WriteToDomDocument(const Handle(CDM_Document)& theDocument,XmlObjMgt_Element& thePDoc,const TCollection_ExtendedString& theFileName) ;


Standard_EXPORT virtual  Standard_Integer MakeDocument(const Handle(CDM_Document)& theDocument,XmlObjMgt_Element& thePDoc) ;


Standard_EXPORT   void AddNamespace(const TCollection_AsciiString& thePrefix,const TCollection_AsciiString& theURI) ;


 // Fields PROTECTED
 //
XmlObjMgt_SRelocationTable myRelocTable;
Standard_Boolean myIsError;


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Handle_XmlMDF_ADriverTable myDrivers;
XmlLDrivers_SequenceOfNamespaceDef mySeqOfNS;
TCollection_ExtendedString myCopyright;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
