Module libxml2 :: Class inputBuffer
[hide private]
[frames] | no frames]

Class inputBuffer

source code

ioWrapper --+    
            |    
ioReadWrapper --+
                |
               inputBuffer

Instance Methods [hide private]
 
__init__(self, _obj=None) source code
 
__del__(self) source code
 
grow(self, len)
Grow up the content of the input buffer, the old data are preserved This routine handle the I18N transcoding to internal UTF-8 This routine is used when operating the parser in normal (pull) mode TODO: one should be able to remove one extra copy by copying directly onto in->buffer or in->raw
source code
 
push(self, len, buf)
Push the content of the arry in the input buffer This routine handle the I18N transcoding to internal UTF-8 This is used when operating the parser in progressive (push) mode.
source code
 
read(self, len)
Refresh the content of the input buffer, the old data are considered consumed This routine handle the I18N transcoding to internal UTF-8
source code
 
Setup(self, reader, URL, encoding, options)
Setup an XML reader with new options
source code
 
newTextReader(self, URI)
Create an xmlTextReader structure fed with @input
source code

Inherited from ioReadWrapper: close

Inherited from ioWrapper: io_close, io_flush, io_read, io_write

Method Details [hide private]

__init__(self, _obj=None)
(Constructor)

source code 
Overrides: ioReadWrapper.__init__

__del__(self)
(Destructor)

source code 
Overrides: ioReadWrapper.__del__