Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

DWFToolkit::DWFXMLSerializable Class Reference
[DWF Package API]

#include "dwf/package/XML.h"

Inheritance diagram for DWFToolkit::DWFXMLSerializable:

Inheritance graph
[legend]
Collaboration diagram for DWFToolkit::DWFXMLSerializable:

Collaboration graph
[legend]
List of all members.

Detailed Description

This interface is used to indicate those classes that can be written as XML into a stream.
Since:
7.0.1.

Definition at line 486 of file XML.h.

Public Member Functions

virtual _DWFTK_API ~DWFXMLSerializable () throw ()
virtual _DWFTK_API void serializeXML (DWFXMLSerializer &rSerializer, unsigned int nFlags)=0 throw ( DWFException )
virtual DWFString namespaceXML (unsigned int nFlags) const throw ()
virtual _DWFTK_API void setDefaultNamespace (const DWFString &zDefaultNamespace) throw ( DWFException )

Protected Member Functions

_DWFTK_API DWFXMLSerializable (const DWFString &zDefaultNamespace=L"") throw ()


Constructor & Destructor Documentation

virtual _DWFTK_API DWFToolkit::DWFXMLSerializable::~DWFXMLSerializable  )  throw () [virtual]
 

Destructor

Exceptions:
None 

_DWFTK_API DWFToolkit::DWFXMLSerializable::DWFXMLSerializable const DWFString zDefaultNamespace = L""  )  throw () [protected]
 

Constructor

Parameters:
zDefaultNamespace An optional string that can be used as the namespace prefix when none has been explicitly defined; DWFXML::kzNamespace_DWF is used by default.
Exceptions:
None 


Member Function Documentation

virtual DWFString DWFToolkit::DWFXMLSerializable::namespaceXML unsigned int  nFlags  )  const throw () [virtual]
 

This method can be used to determine the namespace to use during serialization.

Parameters:
nFlags These options should match those passed to serializeXML().
Exceptions:
None 

virtual _DWFTK_API void DWFToolkit::DWFXMLSerializable::serializeXML DWFXMLSerializer rSerializer,
unsigned int  nFlags
throw ( DWFException ) [pure virtual]
 

Writes an XML representation of the object into a stream.

Parameters:
rSerializer The object that accepts the serialization of the object.
nFlags An implementation-defined set of options for altering the serialization process of this object.

Implemented in DWFToolkit::DWFBookmark, DWFToolkit::DWFCustomSection, DWFToolkit::DWFDefinedObject, DWFToolkit::DWFDefinedObjectInstance, DWFToolkit::DWFEModelSection, DWFToolkit::DWFEPlotSection, DWFToolkit::DWFFontResource, DWFToolkit::DWFGlobalSection, DWFToolkit::DWFEPlotGlobalSection, DWFToolkit::DWFEModelGlobalSection, DWFToolkit::DWFGraphicResource, DWFToolkit::DWFImageResource, DWFToolkit::DWFInterface, DWFToolkit::DWFManifest, DWFToolkit::DWFObjectDefinitionResource, DWFToolkit::DWFPaper, DWFToolkit::DWFProperty, DWFToolkit::DWFResource, DWFToolkit::DWFSection, DWFToolkit::DWFSource, and DWFToolkit::DWFUnits.

virtual _DWFTK_API void DWFToolkit::DWFXMLSerializable::setDefaultNamespace const DWFString zDefaultNamespace  )  throw ( DWFException ) [virtual]
 

Assigns an optional string that can be used as the namespace prefix when none has been explicitly defined; DWFXML::kzNamespace_DWF is used by default.

Parameters:
zDefaultNamespace The namespace prefix.
Exceptions:
DWFException 


The documentation for this class was generated from the following file:
Generated on Tue May 17 12:39:12 2005 for Autodesk DWF Toolkit by  doxygen 1.4.1