Class StrandedFeatureHandler

  • All Implemented Interfaces:
    StAXContentHandler

    public class StrandedFeatureHandler
    extends FeatureHandler
    StAX handler for XFF strandedFeature type. By default, XFFFeatureSetHandler uses this handler for all feature elements which have the strand attribute.

    Like the basic FeatureHandler, this class can be subclassed to give handlers for more specialized feature types.

    Since:
    1.2
    Author:
    Thomas Down
    • Field Detail

      • STRANDEDFEATURE_HANDLER_FACTORY

        public static final XFFPartHandlerFactory STRANDEDFEATURE_HANDLER_FACTORY
    • Method Detail

      • startElement

        public void startElement​(java.lang.String nsURI,
                                 java.lang.String localName,
                                 java.lang.String qName,
                                 org.xml.sax.Attributes attrs,
                                 DelegationManager dm)
                          throws org.xml.sax.SAXException
        Description copied from class: FeatureHandler
        StAX callback for element starts. Wrap this method to handle extra elements within your own feature types.
        Specified by:
        startElement in interface StAXContentHandler
        Overrides:
        startElement in class FeatureHandler
        Throws:
        org.xml.sax.SAXException