|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MedlineHandler
The MedlineHandler interface specifies a single method
that applies to a MEDLINE citation. The standard usage for a
handler is to handle citations generated by a MedlineParser.
Each year, the NLM publishes a baseline version of MEDLINE, with
a single entry per citation. Parsing the baseline, each citation
will result in a single call to the method handle(MedlineCitation).
On an ongoing basis (5 times weekly), the NLM publishes updates
for MEDLINE. These updates contain new citations, replacement
citations, and deletions. New and replacement citations result in
a call to handle(MedlineCitation) just as when parsing the
baseline. It is up to the handler implementation to detect
replacements through duplicated PubMed identifiers in the citation.
The deletions in the MEDLINE updates result in calls to the method
delete(String) which indicate the PubMed identifier of
the citation to delete.
For more information, see the LingPipe tutorial on parsing MEDLINE.
| Method Summary | |
|---|---|
void |
delete(String pmid)
Delete the citation with the specified PubMed identifier. |
void |
handle(MedlineCitation citation)
Handle the specified citation. |
| Method Detail |
|---|
void handle(MedlineCitation citation)
handle in interface ObjectHandler<MedlineCitation>citation - MEDLINE citation that is visited.void delete(String pmid)
handle(MedlineCitation) will
be called a second time instead.
pmid - Identifier of citation to delete.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||