XFF is an experimental format, and both the format and the APIs in this package may change in the future.
The main class in this package is
which is intended as a content handler for XFF
elements. By default, this class handles the XFF
strandedFeature types. Any other feature types
are treated as one of these. It is, however, possible to plug in
additional handlers to cope with sub-types of
The only detail type recognized is
xff:prop -- all others
are silently ignored. But again, it is easy to plug in extra StAX
handlers for other detail types.
When writing a handler, for a new feature type, you will normally want
to sub-class the existing
Interface Summary Interface Description ElementRecognizerSimple interface for filtering SAX/StAX startElement events. XFFHelper XFFPartHandlerFactoryFactory for StAX content handlers.
Class Summary Class Description BasicXFFHelper ElementRecognizer.AllElementRecognizer ElementRecognizer.ByLocalNameFilter elements by local name (not recommended). ElementRecognizer.ByNSNameFilter elements by name and namespace. ElementRecognizer.HasAttributeFilter elements on the existence of a specified attribute. FeatureHandlerStAX handler for the basic
featuretype of XFF.
LocationHandlerBaseHandler to the XFF location type. PropDetailHandlerStAX handler for xff:prop detail elements. PropertyWriter StrandedFeatureHandlerStAX handler for XFF strandedFeature type. XFFFeatureSetHandlerStAX handler which converts and stream of parse events for an XFF featureSet element into BioJava SeqIO events. XFFToolsCommon functionality for manipulating XFF. XFFWriterSimple XFF writing code, ripped off from Dazzle 0.08.