#include <DomImplementationLS.h>
Inherited by xmldom::DomImplementation.
Inheritance diagram for xmldom::DomImplementationLS:
The expectation is that an instance of the DomImplementationLS interface can be obtained by using binding-specific casting methods on an instance of the DomImplementation interface or, if the DomDocument supports the feature "Core" version "3.0" defined in [DOM Level 3 Core], by using the method DomImplementation.DomImplementation::getFeature() with parameter values "LS" (or "LS-Async") and "3.0" (respectively).
Public Types | |
enum | LSMode { ModeSynchronous = 1, ModeAsynchronous = 2 } |
enum | LSSchemaType { AnySchema, XMLSchema, DTDSchema } |
The type of the schema which will be used. More... | |
Public Member Functions | |
virtual | ~DomImplementationLS () |
dtor | |
virtual DomLSParser | createLSParser (LSMode mode, LSSchemaType schemaType)=0 |
Create a new LSParser. | |
virtual DomLSSerializer | createLSSerializer ()=0 |
Create a new LSSerializer object. |
ModeSynchronous | Create a synchronous DomLSParser. |
ModeAsynchronous | Create an asynchronous DomLSParser. |
The type of the schema which will be used.
xmldom::DomImplementationLS::~DomImplementationLS | ( | ) | [virtual] |
dtor
virtual DomLSParser xmldom::DomImplementationLS::createLSParser | ( | LSMode | mode, | |
LSSchemaType | schemaType | |||
) | [pure virtual] |
Create a new LSParser.
The newly constructed parser may then be configured by means of its DomConfiguration object, and used to parse documents by means of its parse method. Parameters
mode | The mode argument is either ModeSynchronous or ModeAsynchronous, if mode is ModeSynchronous then the LSParser that is created will operate in synchronous mode, if it's ModeAsynchronous then the DomLSParser that is created will operate in asynchronous mode. | |
schemaType | The type of the schema. See LSSchemaType for details. |
Implemented in xmldom::DomImplementation.
virtual DomLSSerializer xmldom::DomImplementationLS::createLSSerializer | ( | ) | [pure virtual] |
Create a new LSSerializer object.
Implemented in xmldom::DomImplementation.