public void handleEndElement( OtterContentHandler theContentHandler, String namespaceURI, String localName, String qualifiedName) { Transcript transcript = (Transcript) theContentHandler.getStackObject(); Comment comment = new Comment( transcript.getId(), getCharacters(), "no author", 0 // should be a long representing a timestamp. ); transcript.addComment(comment); super.handleEndElement(theContentHandler, namespaceURI, localName, qualifiedName); }