|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Format
A file format supported by the tag-value event-based parsing system.
Format should be implemented to provide pre-canned access to common formats such as Embl, genbank, swissprot, enzyme etc. so that people do not need to work out which events should be produced by a given file format. It is expcected that implementations of Format will publish meta-data about what tags are associated with which values.
Method Summary | |
---|---|
LifeScienceIdentifier |
getLSID()
Retrieve the LSID associated with this format. |
ParserListener |
getParserListener(TagValueListener listener)
Retrieve a ParserListener pair for the format that will pass all events on to a listener. |
AnnotationType |
getType()
Get the AnnotationType that constrains the events that will be fired. |
Method Detail |
---|
ParserListener getParserListener(TagValueListener listener)
listener
- a TagValueListener that all events should be passed onto
AnnotationType getType()
LifeScienceIdentifier getLSID()
The OBDA recomends taht file formats have identifiers assopciated with them. This allows the format to be specified unambiguously across different projects and groups. Idealy, a format LSID should conform to the odda formats specification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |