class_docstr: Encapsulation of the information needed by the XMLReader to
  read entities.
  
  This class may include information about the public identifier,
  system identifier, byte stream (possibly with character encoding
  information) and/or the character stream of an entity.
  
  Applications will create objects of this class for use in the
  XMLReader.parse method and for returning from
  EntityResolver.resolveEntity.
  
  An InputSource belongs to the application, the XMLReader is not
  allowed to modify InputSource objects passed to it from the
  application, although it may make copies and modify those.
class_docstr_tok: ["Encapsulation","of","the","information","needed","by","the","XMLReader","to","read","entities",".","This","class","may","include","information","about","the","public","identifier",",","system","identifier",",","byte","stream","(","possibly","with","character","encoding","information",")","and\/or","the","character","stream","of","an","entity",".","Applications","will","create","objects","of","this","class","for","use","in","the","XMLReader.parse","method","and","for","returning","from","EntityResolver.resolveEntity",".","An","InputSource","belongs","to","the","application",",","the","XMLReader","is","not","allowed","to","modify","InputSource","objects","passed","to","it","from","the","application",",","although","it","may","make","copies","and","modify","those","."]
docstr: Set the character stream for this input source. (The stream
  must be a Python 2.0 Unicode-wrapped file-like that performs
  conversion to Unicode strings.)
  
  If there is a character stream specified, the SAX parser will
  ignore any byte stream and will not attempt to open a URI
  connection to the system identifier.
docstr_tok: ["Set","the","character","stream","for","this","input","source",".","(","The","stream","must","be","a","Python","2.0","Unicode-wrapped","file-like","that","performs","conversion","to","Unicode","strings",".",")","If","there","is","a","character","stream","specified",",","the","SAX","parser","will","ignore","any","byte","stream","and","will","not","attempt","to","open","a","URI","connection","to","the","system","identifier","."]
code: def setCharacterStream(self, charfile):
      """Set the character stream for this input source. (The stream
      must be a Python 2.0 Unicode-wrapped file-like that performs
      conversion to Unicode strings.)
  
      If there is a character stream specified, the SAX parser will
      ignore any byte stream and will not attempt to open a URI
      connection to the system identifier."""
      self.__charfile = charfile
  
imports: from .None import handler
  from ._exceptions import SAXNotSupportedException, SAXNotRecognizedException
label_desc: Use image node_id 10 for calling the InputSource obj's underlying member method code with example usage: obj.setCharacterStream(charfile) without return types