public void handleEndElement( OtterContentHandler theContentHandler, String namespaceURI, String localName, String qualifiedName) { Transcript trans = (Transcript) theContentHandler.getStackObject(); trans.addProperty(TagHandler.AUTHOR_EMAIL, getCharacters()); super.handleEndElement(theContentHandler, namespaceURI, localName, qualifiedName); }
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); }