Code example for ContentHandler

Methods: characters

0
      ((org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.CharacterNodeHandler)m_contentHandler).characters(node);
    } 
    else 
    { 
      String data = ((Text) node).getData();
      this.m_contentHandler.characters(data.toCharArray(), 0, data.length());
    } 
  } 
 
  /** 
   * Start processing given node 
   * 
   * 
   * @param node Node to process 
   * 
   * @throws org.xml.sax.SAXException 
   */ 
  protected void startNode(Node node) throws org.xml.sax.SAXException
  { 
 
    if (m_contentHandler instanceof NodeConsumer)