DOMImplementationLS Class Reference

#include <DOMImplementationLS.hpp>

Inheritance diagram for DOMImplementationLS:

DOMImplementation List of all members.

Public Types

 MODE_SYNCHRONOUS = 1
 MODE_ASYNCHRONOUS = 2
Public constants
enum  { MODE_SYNCHRONOUS = 1, MODE_ASYNCHRONOUS = 2 }

Public Member Functions

Destructor
virtual ~DOMImplementationLS ()
Functions introduced in DOM Level 3
virtual DOMBuildercreateDOMBuilder (const short mode, const XMLCh *const schemaType, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0
virtual DOMWritercreateDOMWriter (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)=0
virtual DOMInputSourcecreateDOMInputSource ()=0

Protected Member Functions

Hidden constructors
 DOMImplementationLS ()

Private Member Functions

Unimplemented constructors and operators
 DOMImplementationLS (const DOMImplementationLS &)
DOMImplementationLSoperator= (const DOMImplementationLS &)

Detailed Description

DOMImplementationLS contains the factory methods for creating objects that implement the DOMBuilder (parser) and DOMWriter (serializer) interfaces.

An object that implements DOMImplementationLS is obtained by doing a binding specific cast from DOMImplementation to DOMImplementationLS. Implementations supporting the Load and Save feature must implement the DOMImplementationLS interface on whatever object implements the DOMImplementation interface.

Since:
DOM Level 3

Definition at line 121 of file DOMImplementationLS.hpp.


Member Enumeration Documentation

anonymous enum

Create a synchronous or an asynchronous DOMBuilder.

See also:
createDOMBuilder(const short mode, const XMLCh* const schemaType)
Since:
DOM Level 3
Enumerator:
MODE_SYNCHRONOUS 
MODE_ASYNCHRONOUS 

Definition at line 166 of file DOMImplementationLS.hpp.


Constructor & Destructor Documentation

DOMImplementationLS::DOMImplementationLS (  )  [inline, protected]

Definition at line 129 of file DOMImplementationLS.hpp.

DOMImplementationLS::DOMImplementationLS ( const DOMImplementationLS  )  [private]

virtual DOMImplementationLS::~DOMImplementationLS (  )  [inline, virtual]

Destructor

Definition at line 152 of file DOMImplementationLS.hpp.


Member Function Documentation

virtual DOMBuilder* DOMImplementationLS::createDOMBuilder ( const short  mode,
const XMLCh *const   schemaType,
MemoryManager *const   manager = XMLPlatformUtils::fgMemoryManager 
) [pure virtual]

Create a new DOMBuilder. The newly constructed parser may then be configured by means of its setFeature method, and used to parse documents by means of its parse method.

"Experimental - subject to change"

Parameters:
mode The mode argument is either MODE_SYNCHRONOUS or MODE_ASYNCHRONOUS, if mode is MODE_SYNCHRONOUS then the DOMBuilder that is created will operate in synchronous mode, if it's MODE_ASYNCHRONOUS then the DOMBuilder that is created will operate in asynchronous mode.
schemaType An absolute URI representing the type of the schema language used during the load of a DOMDocument using the newly created DOMBuilder. Note that no lexical checking is done on the absolute URI. In order to create a DOMBuilder for any kind of schema types (i.e. the DOMBuilder will be free to use any schema found), use the value null.
Returns:
The newly created DOMBuilder object. This DOMBuilder is either synchronous or asynchronous depending on the value of the mode argument.
Exceptions:
DOMException NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is not supported.
See also:
DOMBuilder
Since:
DOM Level 3

virtual DOMInputSource* DOMImplementationLS::createDOMInputSource (  )  [pure virtual]

Create a new "empty" DOMInputSource.

"Experimental - subject to change"

Returns:
The newly created DOMInputSource object.
Exceptions:
DOMException NOT_SUPPORTED_ERR: Raised if this function is not supported by implementation
See also:
DOMInputSource
Since:
DOM Level 3

virtual DOMWriter* DOMImplementationLS::createDOMWriter ( MemoryManager *const   manager = XMLPlatformUtils::fgMemoryManager  )  [pure virtual]

Create a new DOMWriter. DOMWriters are used to serialize a DOM tree back into an XML document.

"Experimental - subject to change"

Returns:
The newly created DOMWriter object.
See also:
DOMWriter
Since:
DOM Level 3

DOMImplementationLS& DOMImplementationLS::operator= ( const DOMImplementationLS  )  [private]


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 01:29:16 2006 for DT2005.panorama by  doxygen 1.4.7