Package ccrdf :: Module rdfdict :: Class StringInputSource
[show private | hide private]
[frames | no frames]

Class StringInputSource

InputSource --+
              |
             StringInputSource


StringInputSource: helper source to allow SAX parsing of a string; wraps string in appropriate superclass and emulates file-like interface.
Method Summary
  __init__(self, sourceString)
    Inherited from InputSource
  getByteStream(self)
Get the byte stream for this input source.
  getCharacterStream(self)
Get the character stream for this input source.
  getEncoding(self)
Get the character encoding of this InputSource.
  getPublicId(self)
Returns the public identifier of this InputSource.
  getSystemId(self)
Returns the system identifier of this InputSource.
  setByteStream(self, bytefile)
Set the byte stream (a Python file-like object which does not perform byte-to-character conversion) for this input source.
  setCharacterStream(self, charfile)
Set the character stream for this input source.
  setEncoding(self, encoding)
Sets the character encoding of this InputSource.
  setPublicId(self, public_id)
Sets the public identifier of this InputSource.
  setSystemId(self, system_id)
Sets the system identifier of this InputSource.

Generated by Epydoc 2.1 on Mon Jul 10 17:08:26 2006 http://epydoc.sf.net