コード例 #1
0
 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();
   DbXref dbx = new DbXref("OtterId", getCharacters(), "otter");
   transcript.addDbXref(dbx);
   super.handleEndElement(theContentHandler, namespaceURI, localName, qualifiedName);
 }
コード例 #3
0
  public void handleEndElement(
      OtterContentHandler theContentHandler,
      String namespaceURI,
      String localName,
      String qualifiedName) {
    Exon exon = (Exon) theContentHandler.getStackObject();
    int strand = Integer.valueOf(getCharacters()).intValue();
    exon.setStrand(strand);

    super.handleEndElement(theContentHandler, namespaceURI, localName, qualifiedName);
  }
コード例 #4
0
  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);
  }