Code example for Document

Methods: createProcessingInstruction, createTextNode

      return;  // avoid DOM006 Hierarchy request error 
    String s = new String(ch, start, length);
   * Report the beginning of an entity. 
   * The start and end of the document entity are not reported. 
   * The start and end of the external DTD subset are reported 
   * using the pseudo-name "[dtd]".  All other events must be 
   * properly nested within start/end entity events. 
   * @param name The name of the entity.  If it is a parameter 
   *        entity, the name will begin with '%'. 
   * @see #endEntity