Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
xml.dom.xmlbuilder.DOMImplementationLS Class Reference
Inheritance diagram for xml.dom.xmlbuilder.DOMImplementationLS:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def createDOMBuilder
def createDOMWriter
def createDOMInputSource

Static Public Attributes

int MODE_SYNCHRONOUS = 1
int MODE_ASYNCHRONOUS = 2

Detailed Description

Definition at line 366 of file xmlbuilder.py.


Member Function Documentation

def xml.dom.xmlbuilder.DOMImplementationLS.createDOMBuilder (   self,
  mode,
  schemaType 
)

Definition at line 370 of file xmlbuilder.py.

00370 
00371     def createDOMBuilder(self, mode, schemaType):
00372         if schemaType is not None:
00373             raise xml.dom.NotSupportedErr(
00374                 "schemaType not yet supported")
00375         if mode == self.MODE_SYNCHRONOUS:
00376             return DOMBuilder()
00377         if mode == self.MODE_ASYNCHRONOUS:
00378             raise xml.dom.NotSupportedErr(
00379                 "asynchronous builders are not supported")
00380         raise ValueError("unknown value for mode")

Definition at line 385 of file xmlbuilder.py.

00385 
00386     def createDOMInputSource(self):
00387         return DOMInputSource()

Definition at line 381 of file xmlbuilder.py.

00381 
00382     def createDOMWriter(self):
00383         raise NotImplementedError(
00384             "the writer interface hasn't been written yet!")


Member Data Documentation

Definition at line 368 of file xmlbuilder.py.

Definition at line 367 of file xmlbuilder.py.


The documentation for this class was generated from the following file: