code: public static TypedStreamReader createStreamReader
          (BranchingReaderSource input, ReaderCreator owner, ReaderConfig cfg,
           InputBootstrapper bs, boolean forER)
          throws XMLStreamException
      {
  
          TypedStreamReader sr = new TypedStreamReader
              (bs, input, owner, cfg, createElementStack(cfg), forER);
          return sr;
      }
docs: Factory method for constructing readers.
  
  @param owner "Owner" of this reader, factory that created the reader;
  needed for returning updated symbol table information after parsing.
  @param input Input source used to read the XML document.
  @param cfg Object that contains reader configuration info.