edu.stanford.nlp.dbm
Class LocusLinkDocument

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--edu.stanford.nlp.dbm.BasicDocument
                          |
                          +--edu.stanford.nlp.dbm.HTMLDocument
                                |
                                +--edu.stanford.nlp.dbm.LocusLinkDocument
All Implemented Interfaces:
Cloneable, Collection, Datum, Document, Featurizable, Labeled, List, RandomAccess, Serializable

public class LocusLinkDocument
extends HTMLDocument

A LocusLink document about a gene with LocusLink ID locusID. title() returns the name of the gene, and text() returns relevant text scraped from the LocusLink database.

See Also:
Serialized Form

Field Summary
protected  String state
           
 
Fields inherited from class edu.stanford.nlp.dbm.HTMLDocument
parsedText
 
Fields inherited from class edu.stanford.nlp.dbm.BasicDocument
labels, originalText, title
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LocusLinkDocument(int locusID)
          Constructs a LocusLink document for the gene with LocusLinkID locusID
LocusLinkDocument(URL url)
          Constructs a LocusLink Document by setting the title and text variables.
 
Method Summary
static void main(String[] args)
          Returns document as a Collection of words.
 
Methods inherited from class edu.stanford.nlp.dbm.HTMLDocument
getParsedText, parse
 
Methods inherited from class edu.stanford.nlp.dbm.BasicDocument
addLabel, asFeatures, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, init, label, labels, originalText, presentableText, setLabel, setLabels, setTitle, title
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Field Detail

state

protected String state
Constructor Detail

LocusLinkDocument

public LocusLinkDocument(int locusID)
                  throws IOException
Constructs a LocusLink document for the gene with LocusLinkID locusID


LocusLinkDocument

public LocusLinkDocument(URL url)
                  throws IOException
Constructs a LocusLink Document by setting the title and text variables.

Method Detail

main

public static void main(String[] args)
Returns document as a Collection of words.



Stanford NLP Group