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: Sets the public identifier of this InputSource.
docstr_tok: ["Sets","the","public","identifier","of","this","InputSource","."]
code: def setPublicId(self, public_id):
      "Sets the public identifier of this InputSource."
      self.__public_id = public_id
  
imports: from .None import handler
  from ._exceptions import SAXNotSupportedException, SAXNotRecognizedException
label_desc: Use image node_id 2 for calling the InputSource obj's underlying member method code with example usage: obj.setPublicId(public_id) without return types