Code example for Document

Methods: createProcessingInstruction

   *        none was supplied. 
  public void processingInstruction(String target, String data)
          throws org.xml.sax.SAXException 
    append(m_doc.createProcessingInstruction(target, data));
   * Report an XML comment anywhere in the document. 
   * This callback will be used for comments inside or outside the 
   * document element, including comments in the external DTD 
   * subset (if read). 
   * @param ch An array holding the characters in the comment. 
   * @param start The starting position in the array. 
   * @param length The number of characters to use from the array. 
  public void comment(char ch[], int start, int length) throws org.xml.sax.SAXException
Contextual code suggestions in your IDE  Get Codota for Java